|
POST /api/v1/billing/devices/reserve |
Reserves a device so it is no longer available for addition.
If a device is reserved, it cannot be added unless the skip_reserve_check parameter is also passed in the activation request.
{
"type": "mediaagent",
"mac": "fake_mac_5",
"serial_number": "sn"
}
Possible error codes:
-
33600 – Device not found
-
33603 – Device already activated
-
33610 – Device is being deactivated
-
33622 – Device is initializing (it has just registered in the system and will soon become available)
-
33599 – Device is reserved
Method parameters
string type required , Device type. Possible values: `mediabridge` – Bridge, `mediaagent` – Camera (Agent)
string mac, Device MAC address
string serial_number, Device serial number
|
200 |
|
Successful response JSON
|
|
400 |
|
Reservation error JSON
|
|
422 |
|
Returns a JSON error object. For more information, see General information > Validation. JSON
|