Vehicles
Detach a Vehicle
Detaches a Vehicle from a driver or fleet. Specify either driver
or fleet
in the request body. Once detached, the Vehicle is no longer available for that entity’s transactions.
POST
Path Parameters
The unique identifier for the Vehicle to detach.
Body
application/json
Response
200
application/json
Returns the updated Vehicle object reflecting the detachment. If the Vehicle or target driver or fleet does not exist, an error is returned.