Three lines

Uber

Developers

Cancel Guest Trip

DELETEhttps://api.uber.com/v1/guests/trips/{request_id}

Privileged and Confidential This endpoint design has been confidentially shared with you. It is still under development and is subject to change without notice. Please do not share this document or API endpoint details with anyone who is not authorized to have access. For more information read about scopes.

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

Uber

Developers
© 2023 Uber Technologies Inc.