Request
To update a device name by token header, send a PUT request to:
XML
https://<server>:<port>/adm/v1/user/devices/{uid}/name
x-correlation-id
– identifier for logging, to correlate messages across a call flow.nv-tenant-id
– the tenant ID.token
– request authentication token.
Response
A successful request returns an HTTP 200 status.
Click here for an example of a successful response.
HTTP 200 successful response
JS
{
"status": "ENABLED",
"publicId": "4079a568-dc74-11ea-8d37-10653065ae1f",
"name": "Galaxy S",
"deviceProfileId": "SmartPhones",
"initializationStatus": "ACTIVE",
"drmClientId": "prm.TEE1.DeviceId-01",
"drmSystemId": "string",
"caSN": "string",
"smartCardId": "string",
"nuID": "string",
"mediaPlayerId": "string",
"deviceInformation": {
"securePlayer": {
"codecs": [
"string"
],
"streamings": [
"string"
],
"DRMs": [
"string"
]
},
"device": {
"screen": {
"height": "string",
"density": "string",
"width": "string"
},
"hardware": {
"model": "string",
"manufacturer": "string",
"type": "string"
},
"OS": {
"type": "Android",
"version": 6
},
"CPU": {
"neon": "string",
"frequency": "string",
"cores": "string"
},
"GPU": {
"frequency": "string",
"cores": "string"
}
}
},
"credentialsState": "string",
"deviceType": "OPEN",
"activationStatus": "ACTIVE",
"accountUid": "7da5263c-dbc6-11ea-a4c9-10653065ae1f",
"activated": "2020-08-11T10:23:12.191Z",
"PIN": "string",
"wmkId": "string",
"_id": "5c683094-e77a-11ea-9615-10653065ae1f"
}
A bad request returns an HTTP 400 status.
If the supplied credentials (token) are not valid, the request returns an HTTP 401 status.
A forbidden request returns an HTTP 403 status.
If the resource does not exist, the request returns an HTTP 404 status.
An internal server error returns an HTTP 500 status.
Click here for an example of an error case.
HTTP 401, 403, 404 and 500 error
JS
{
"message": "string",
"code": 0,
"errorCode": 0
}
See also
For full details of this API, see Account and Device Manager (ADM) API documentation.