api:iptv:app:device_name
Table of Contents
API : IPTV : App : Device name
Introduction
This request is used to set the name of one of the customers devices.
Request
| URL | https://api.telecomx.dk/iptv/app/device/DEVICE_ID | ||
|---|---|---|---|
| Method | GET | ||
| Params | DEVICE_ID | Id | Id of the device (not deviceId). |
| Query | token | String | Session token. |
| name | String | New name for the device. | |
Query examples
https://api.telecomx.dk/iptv/app/device/1234567890123457890ABCD?token=123456780123456780ABCD&name=Johns%20iPhone
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success. |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 404 | id | Not found |
| 422 | name | Invalid name |
| 500 | internal_error | <Unspecified> |
api/iptv/app/device_name.txt · Last modified: 2018/03/20 12:05 by Per Møller