Unassign Driver Tag
DELETE/drivers/tags/assignments/:assignment_id
This endpoint ends an assignment now. The assignment is kept as history, so the tag is free to assign again straight away. An assignment that has already ended is returned unchanged with a 200. An assignment that has not started yet cannot be ended and returns 422. An assignment whose tag has been deleted cannot be ended either and returns 422 with the same error as POST /drivers/tags/assignments gives for that tag. To end several assignments in one request use DELETE /drivers/tags/assignments.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 503
Driver tag unassigned successfully
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.