Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Delete a vehicle

DELETE
/vehicles/{vehicleId}

Authorizations

Parameters

Path Parameters

vehicleId
required
string

Responses

200

Vehicle deleted

Examples

Example with cURL

curl -X DELETE http://localhost:3005/vehicles/{vehicleId} \
-H 'Authorization: Bearer <your_token_here>' \

404

Vehicle not found

Examples

Example with cURL

curl -X DELETE http://localhost:3005/vehicles/{vehicleId} \
-H 'Authorization: Bearer <your_token_here>' \