Chеck device availability
The method and parameters
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"
}
POST /api/v1/billing/devices/activate |
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. See Validation.
JSON
|