Skip to content

Unassign vehicle

PUT/journeys/{id}/unassign-vehicle

Auth: 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.

Guide: Assign driver and vehicle

Path parameters

  • idinteger · int64required

    The id of the journey to update

Headers

  • X-Request-IDstring

    The optional (ideally unique) request identifier used for later analysis or diagnostics

Responses

No content

Errors this endpoint can return

  • 400, failedUNKNOWN

    When: The journey is completed or cancelled.

    What to do: For 400, read message and correct the request. For 500, retry once; if it persists, contact Transferz support with the X-Request-ID you sent.

  • 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.

Was this helpful?