For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set association name

post

Set the name of the association. To set the name of devices owned by the network, use /device/set-name.

Authorizations
AuthorizationstringRequired

BringYour JWT

Body
codestringOptional
device_namestringOptional

Name of the device

Responses
200Success
application/json
post/device/set-association-name
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"
}
200Success
{
  "error": {
    "message": "text"
  }
}

Was this helpful?