This method unregisters a set of devices which are mapped against a specific operator. Multiple devices can be unregistered through each call.
Resource URL
Parameters
Name | Type | Description |
token | String | The token retrieved from the login method |
group_identifier | Group Identifier | The identifier of the group that represents the operator. The allowed group identifier fields are the following: Name | Type | Description |
---|
id (semi-optional) | String | The ID of the group | name (semi-optional) | String | The code of the group | alternative_code (semi-optional) | String | The alternative code of the group |
|
devices (mandatory) | Set of Devices Objects | The devices that will be unregistered against the specified operator Maximum 1000 Devices can be unregistered through each call |
Referred Parameter Objects Data
Devices parameter object data
| | |
---|
esn (mandatory) | String | The electronic serial number of the device |
Response Data
Name | Type | Description |
failed_devices_set | Set of Devices Objects | The devices that failed to be unregistered against the specified operator |
Referred Objects Response Data
Devices response data
Name | Type | Description |
---|
esn | String | The electronic serial number of the device |
Examples
Example 1
HTTP Method: POST
Request:
Body:
{
"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c3IiOiJtcGFkbWluaXN0cmF0b3IiLCJvcmciOiJldm5meCIsIm91biI6IjEiLCJleHAiOiIxNTAxMTY0ODQ4IiwiaWF0IjoiMTUwMTE1NzY0OCIsImp0aSI6IjdCNkJBM0RBOTMwMDQ0RDlBNDIwQjVBNUU4NEVFMzUzIn0.VfW8HoMGjS1vaH4ocUjhLjZfrM4vxcbz1LwWybxAo6s",
"group_identifier":{"name":"Telkom Operator"},
"devices":[
{
"esn":"Test_1"
},
{
"esn":"Test_6"
},
{
"esn":"Test_7"
},
{
"esn":"Test_8"
}
]
}
Response:
{
"data":
{
"failed_devices_set":
[
{
"esn": "Test_1"
},
{
"esn": "Test_8"
}
]
},
"status":
{
"code": "OK",
"description": "",
"message": ""
}
}