gateway - bind Devices

post

Bind devices to a gateway under a registry

Authorizations
Path parameters
subscriptionIdstringRequired

Subscription ID

registryIdstringRequired

Registry ID

Body
deviceIdsstring[]Required
gatewayIdstringRequired
Responses
200
OK
application/json
post
POST /omnicore/subscriptions/{subscriptionId}/registries/{registryId}/bindDevicesToGateway HTTP/1.1
Host: api.korewireless.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "deviceIds": [
    "text"
  ],
  "gatewayId": "text"
}
{
  "info": "text"
}

Authorization: apiKey

name: x-api-key
in: header
type: apiKey
curl -L -X POST 'https://api.korewireless.com/omnicore/subscriptions/:subscriptionId/registries/:registryId/bindDevicesToGateway' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
  "deviceIds": [
    "string"
  ],
  "gatewayId": "string"
}'

Last updated