Delete Vehicle by ID
Permanently removes a registered vehicle record from the database by its unique ID.
Endpoint Overview
-
Method:
DELETE -
Route:
/api/v1/vehicles/:id -
Authentication:
None (Public) -
Content-Type:
N/A
Path Parameters
Example Request URL
Request Body Schema
None (DELETE request)
Response Body Schema (200 OK)
vehicle Object Fields
Response Examples
1. 200 OK — Vehicle Deleted Successfully
2. 404 Not Found — Vehicle Does Not Exist
3. 500 Internal Server Error
Status Codes Reference
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.