IP Devices

AssociateDevice

Add a device to your nRF Cloud account. The association process is idempotent. You may therefore use this endpoint to update your device's subType. For more on the use of subType see the OnboardDevices endpoint.

curl -X PUT $API_HOST/v1/association/$DEVICE_ID -d "$DEVICE_OWNERSHIP_CODE" -H "Authorization: Bearer $API_KEY" -H "Content-Type: text/plain"
put/association/{deviceId}

Path parameters

deviceIdstring required

This is the canonical device id used in the device certificate, and as the MQTT client id.

Example:nrf-1234567890123456789000

Query parameters

subTypestring

A custom string value to specify the type of thing (device) being provisioned on nRF Cloud.

Request body

string required

Changes

No recorded changes to this endpoint across all 1 revision of this API.