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
.
udid
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"
}
{
"error": {
"message": "text"
}
}