Skip to main content
Skip table of contents

Delete a Bridge device and its cameras

Removing a bridge

Removing the bridge and all its cameras

Permission - bridges

DELETE /api/admin/v1/bridges/{bridge}

int bridge, Unique bridge identifier

204 No Content

Returns an empty response

401 Unauthorized

Authorization token not sent or not valid

403 Forbidden

If the administrator or user (for whom the bridge is activated) does not have the necessary access rights

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/bridges/{bridge}' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "bridge": 0
}'
PHP
PHP
$data = array (
  'bridge' => 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/admin/v1/bridges/{bridge}', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.