List of deleted cameras. By default, deleted cameras are stored for 30 days and are then permanently deleted.
GET api/admin/v1/deleted-cameras
int per_page, number of items per pagination page. Default is 25
int
string search, search by name of the deleted camera, UUID, and stream IP
string
string sort, search by name of the deleted camera, UUID, and stream IP
string dir, sorting direction. desc - from larger to smaller, asc - from smaller to larger
200 OK
OK
List of deleted cameras
null
401 Unauthorized
Unauthorized
Authorization token is not provided or is invalid. Obtaining a token
curl -k --request POST \ --url 'https://your-domainapi/admin/v1/deleted-cameras' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "per_page": 0, "search": "string", "sort": "string", "dir": "string" }'
$data = array ( 'per_page' => 0, 'search' => 'string', 'sort' => 'string', 'dir' => 'string', ); $context = stream_context_create([ 'ssl'=>['verify_peer' => false], 'http' => [ 'method' => 'GET', 'header' => "Content-Type: application/json\r Accept: application/json", 'content'=>json_encode($data) ] ]); $result = file_get_contents('https://your-domainapi/admin/v1/deleted-cameras', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.