Delete a vehicle

Deletes a saved vehicle of the organization the API key belongs to.

Input. vehicleId in the path, a number from List vehicles.

Response. 200 with { success: true }.

Notes. An unsaved vehicle, a vehicle that does not exist and a private vehicle that is not shared with the API key answer 404. A vehicle that an alert names, or whose removal would empty a vehicle group an alert uses, answers 409 with code: VEHICLE_IN_USE; change the alert first.

Side effects. The vehicle is removed from its vehicle groups, which are sent again to the Cores that use them, and its uploaded image is deleted. This cannot be undone; the license plate shows up again as an unsaved vehicle when cameras read it.

Request examples

DELETE /v1/vehicle-api/vehicles/1093527491036451
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
number
required
1 to 9007199254740991

The numeric id of the vehicle, from List vehicles.

Responses

400

vehicleId is not a positive integer.

401

Missing or invalid API key.

403

Forbidden - Insufficient permissions to access this resource

404

Vehicle not found in this organization.

429

Too many requests. Try again later.

500

Internal server error.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json