Cancel Employee Trip
DELETEhttps://api.uber.com/v2/employees/trips/{request_id}¶ Use case
Use this endpoint to cancel a trip.
If the request is from a third party (3P) app, please add x-uber-organizationuuid header and the Organization UUID as the value or the request will be denied.
¶ Authorization
OAuth 2.0 Bearer token with the business.trips scope.
¶ Request
¶ Example request
curl -X DELETE \
-H "authorization: Bearer $UBER_TOKEN" \
'https://api.uber.com/v2/employees/trips/<request_id>'
¶ Request URL parameters
| URL Path Parameters | Type | Required? | Description |
|---|---|---|---|
| request_id | string | Yes | A unique identifier of a trips request returned when creating a trips. (required) |
¶ Response
¶ Example response
Status-code: 204 No Content
| Http Status Code | Code | Message |
|---|---|---|
| 204 | OK | The ride has been canceled |
| 404 | entity_not_found | Unknown ride |