Аctivate a device
The method and parameters
You can pass either MAC or serial_number
{
"login": "user-login",
"name": "name",
"type": "mediaagent",
"mac": "fake_mac_5",
"serial_number": "sn",
"skip_reserve_check": false
}
POST /api/v1/billing/devices/activate |
string
login REQUIRED – the login of the user who needs to add the device
string
name REQUIRED – the name for the device
string
type REQUIRED – a device type
string
mac – the MAC address of the device
string
serial_number – the device serial number
bool
skip_reserve_check – this parameter is required to activate a device that is reserved
201 |
Successful response
JSON
|
422 |
Returns a JSON object with an error. See Validation.
JSON
|