Three lines

Uber

Developers

DELETE /requests/{request_id}

Privileged Scope This endpoint requires a privileged scope to be used in production by all Uber riders. You can use this endpoint immediately when authenticated as yourself or any of your 5 registered developers. When you are ready to distribute your application broadly for use by all Uber riders, you may request FULL ACCESS. For more information read about scopes.

Ride Request - Delete

The Ride Request endpoint allows cancellation of an ongoing Request on behalf of a rider.

See the Ride Request tutorial for a step-by-step guide to requesting rides on behalf of an Uber user. Please review the sandbox documentation on how to develop and test against these endpoints without making real-world Ride Requests and being charged.

Resource

DELETE /v1.2/requests/{request_id}

Authorization

OAuth 2.0 user access token with the request scope.

Path Parameters
Name Type Description
request_id string Unique identifier representing a Request.
Query Parameters

None

Example Request
curl -H 'Authorization: Bearer <TOKEN>' \
     -H 'Accept-Language: en_US' \
     -H 'Content-Type: application/json' \
     -X DELETE \
     'https://api.uber.com/v1.2/requests/<REQUEST_ID>'
Response

Status-Code: 204 No Content

Uber

Developers
© 2023 Uber Technologies Inc.