api:iptv:mdmconfigs:update
Table of Contents
API : IPTV : MDM Config : Update
Introduction
This request will update an existing MDM config.
Request
| URL | https://api.telecomx.dk/iptv/mdmconfig | ||
|---|---|---|---|
| Method | POST | ||
| Access level | ADMIN | ||
| Params | MDMCONFIG_ID | Id of the MDM config | |
| Body | name | String | Name of MDM config. |
| mdm | String | Name of MDM this config is for. Allowed values are 'FLEXCARE', 'MOBILE_IRON', 'AIRWATCH', 'SCALEFUSION'. | |
| config | Object | The configuration itself. It varies between configurations. | |
Query example
{
name: 'FlexCare standard configuration',
config: {},
mdm: 'FLEXCARE'
}
Response
The updated MDM config.
| JSON object | ||
|---|---|---|
| _id | Id | Unique id of the TV channel. |
| name | String | Name of config. |
| mdm | String | Name of MDM this config is for |
| config | Object | The configuration itself. It varies between configurations. |
Note that properties holding no value may be omitted from the object.
Example
{ _id: '12345678901234567890ABCD', name: 'FlexCare standard configuration', config: {}, mdm: 'FLEXCARE' }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | not_found | Not found |
| 403 | access_denied | Insufficient access level |
| 422 | invalid_data | Invalid data |
| 500 | internal_error | <Unspecified> |
api/iptv/mdmconfigs/update.txt · Last modified: 2022/01/21 14:00 by Joakim Andersen