Skip to main content
Skip table of contents

List of deleted cameras

List of deleted cameras

List of deleted cameras. By default, deleted cameras are stored for 30 days and are then permanently deleted.

GET api/admin/v1/deleted-cameras

Method parameters

int per_page, number of items per pagination page. Default is 25


string search, search by name of the deleted camera, UUID, and stream IP


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

List of deleted cameras

JSON
null

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

cURL
BASH
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"
}'
PHP
PHP
$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);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.