Skip to main content
DELETE
Delete Vehicle

Delete Vehicle

Permanently remove a vehicle from your organization’s fleet. This action cannot be undone.
Irreversible Action: Deleting a vehicle will remove all associated data. Ensure you have backed up any necessary information before deleting.

Request

Path Parameters

uuid
required
The UUID of the vehicle to deleteExample: 550e8400-e29b-41d4-a716-446655440000

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Response

Returns HTTP 204 No Content on successful deletion. No response body.

Example

Successful Response

No response body is returned for successful deletions.

Common Errors

401 Unauthorized

Cause: Missing or invalid API key
Solution: Verify your API key is valid and active. Get a new one from Settings → API.

404 Not Found

Cause: Vehicle not found in organization
Solution: Verify that the vehicle ID is correct and belongs to your organization. Use the List Vehicles endpoint to get valid IDs.

500 Internal Server Error

Cause: Server error during deletion
Solution: Contact support if the error persists. Provide the vehicle ID and timestamp of the failed deletion.

Use Cases

Remove a Decommissioned Vehicle

Delete a vehicle that is no longer in the fleet:

Clean Up Fleet Duplicates

Remove duplicate entries from your fleet:

Batch Delete Vehicles

Remove multiple vehicles in bulk:

Best Practices

Before Deletion

  1. Verify the Vehicle ID: Ensure you have the correct vehicle ID
  2. Check Dependencies: Confirm the vehicle has no active consumptions or related data
  3. Backup Information: Consider exporting vehicle data if needed
  4. Notify Team: Alert relevant stakeholders before deleting from shared fleets

Alternative to Deletion

If you want to keep the vehicle data for historical records, consider archiving instead:

List Vehicles

Retrieve all vehicles with filtering and pagination

Create Vehicle

Add a new vehicle to your fleet

Update Vehicle

Modify vehicle details

Vehicle Overview

Learn about the Vehicles API