Skip to main content

Managing Vehicles

This guide covers endpoints for managing vehicles.

Get All Vehicles

Retrieves all vehicles for the authenticated user.

Endpoint

GET /operator/vehicles

Description

Retrieve all vehicles belonging to the current user.

Update a Vehicle

Updates an existing vehicle.

Endpoint

PATCH /operator/vehicle/update-vehicle

Description

Update the details of an existing vehicle.

Delete a Vehicle

Deletes a vehicle by its ID.

Endpoint

DELETE /operator/vehicle/delete-vehicle

Description

Delete a vehicle by its ID.