Was this helpful?
Set the name of the association. To set the name of devices owned by the network, use /device/set-name.
/device/set-name
Name of the device
POST /device/set-association-name HTTP/1.1 Host: api.bringyour.com Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 36 { "code": "text", "device_name": "text" }
{ "error": { "message": "text" } }