Unassign vehicle
PUT
/journeys/{id}/unassign-vehicleAuth: X-API-Key headerhttps://warpdrive.staging.transferz.com/transfercompanies
Unassigns the currently selected vehicle from the journey driver
Removes the vehicle from the journey's driver, for example before assigning another car.
Path parameters
Headers
Responses
No content
Errors this endpoint can return
- 400, failedUNKNOWN
When: The journey is completed or cancelled.
What to do: For 400, read
messageand correct the request. For 500, retry once; if it persists, contact Transferz support with the X-Request-ID you sent. - 403, failedINSUFFICIENT_PERMISSIONS
When: The journey is not assigned to your company (also returned for an unknown id).
What to do: Check that the id belongs to your company and that you use the key of the right user. Ask Transferz to check the account's permissions if the id is correct.