All pages
Powered by GitBook
1 of 1

Set name

post

Sets the name of a device owned by the network. To set the name of devices shared with the network, use /device/set-association-name.

Authorizations
Body
device_idstringOptional

udid

device_namestringOptional
Responses
200Success
application/json
post
POST /device/set-name HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 41

{
  "device_id": "text",
  "device_name": "text"
}
200Success
{
  "error": {
    "message": "text"
  }
}