Cancel Guest Trip
DELETEhttps://api.uber.com/v1/guests/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 guests.trips
scope.
¶ Request
¶ Example request
curl -X DELETE \
-H "authorization: Bearer <access_token>" \
'https://api.uber.com/v1/guests/trips/<request_id>'
¶ Request URL parameters
URL parameter | Type | Description |
---|---|---|
request_id | string | The unique ID of the trip request. |
¶ Response
¶ Example response
Status-code: 204 No Content