IP Devices
AssociateDevice
Changed onAdd 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}
Request
- Base URLhttps://api.nrfcloud.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- info
endpoint deprecated
- info