Skip to main content
Skip table of contents

Delete a license plate collection

Delete a license plate collection

The method for deleting a previously created collection of numbers with all the objects in it.

DELETE /api/license_plate_collections/{license-plate-collection-uid}/?format=json

204 No Content

The collection has been successfully deleted

404 Not Found

The collection with such UID was not found

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/license_plate_collections/{license-plate-collection-uid}/?format=json' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '[]'
PHP
PHP
$data = array (
);
$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/license_plate_collections/{license-plate-collection-uid}/?format=json', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.