The method and parameters
|
POST /api/v1/billing/devices/activate |
If the device is available for activation, the response will be empty successful.
You can pass either mac or serial_number
JSON
{
"type": "mediaagent",
"mac": "fake_mac_5",
"serial_number": "sn"
}
string type required – a device type
string mac – a device MAC address
string serial_number – a device serial number
|
204 |
|
Successful response |
|
422 |
|
Returns a JSON object with an error. For details, see General information > Validation. JSON
|