Cancel Health Trip
DELETEhttps://api.uber.com/v1/health/trips/{request_id}¶ Use Case
Cancel a health trip.
¶ Authorization
OAuth 2.0 Bearer token with the health scope.
¶ Request
¶ Example request
curl -X DELETE \
-H "authorization: Bearer <access_token>" \
'https://api.uber.com/v1/health/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
¶ Endpoint Possible Errors
| HTTP Status | Code | Description |
|---|---|---|
| 400 | validation_failed | This error occurs when an incorrect or invalid request_id is provided in the request path. Please use a valid request_id to avoid this error. |
| 401 | unauthorized | Authorization failed. The client lacks valid auth credentials for the requested resource. |
| 403 | forbidden | The client does not have permission to access the requested resource. |
| 404 | not_found | The requested resource or entity could not be found on the server. |
| 500 | internal_server_error | An unexpected error occurred on the server while processing the request. |