gateway - bind Device
post
Bind a device to a gateway under a registry
Authorizations
Path parameters
subscriptionIdstringRequired
Subscription ID
registryIdstringRequired
Registry ID
Body
deviceIdstringRequired
gatewayIdstringRequired
Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
500
Internal Server Error
application/json
post
POST /omnicore/subscriptions/{subscriptionId}/registries/{registryId}/bindDeviceToGateway HTTP/1.1
Host: api.korewireless.com
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"deviceId": "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/bindDeviceToGateway' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
"deviceId": "string",
"gatewayId": "string"
}'
Last updated