Удаление камеры и всех ее стримов Permission - camera-agents
DELETE /api/v1/camera-agents/{cameraAgent}
int cameraAgent, Уникальный идентификатор камеры
int
204 No Content
No Content
Возвращает пустой респонс
401 Unauthorized
Unauthorized
Токен авторизации не передан или не валидный
curl -k --request POST \ --url 'https://your-domain/api/v1/camera-agents/{cameraAgent}' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "cameraAgent": 0 }'
$data = array ( 'cameraAgent' => 0, ); $context = stream_context_create([ 'ssl'=>['verify_peer' => false], 'http' => [ 'method' => 'DELETE', 'header' => "Content-Type: application/json\r Accept: application/json", 'content'=>json_encode($data) ] ]); $result = file_get_contents('https://your-domain/api/v1/camera-agents/{cameraAgent}', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.