|
POST /api/v1/billing/devices/deactivate |
Deactivates the device on the controller and deletes it along with its cameras. For a Camera (Agent) device, the camera is permanently deleted with all its streams and does not appear in the deleted cameras list, just as when an administrator or user deactivates a Camera (Agent) device.
{
"uuid": "7a593d26-8cfd-47e9-8647-1fb18a36fedb",
"leave_reserved": true
}
Method parameters
string uuid required , Device UUID
bool leave_reserved, Flag indicating whether the device remains reserved after deletion
|
204 |
|
Successful response |
|
422 |
|
Returns a JSON error object (including when a Bridge or Camera (Agent) device has the General affiliation mode: such a device cannot be deactivated until its cameras are removed from locations).
JSON
|