DELETE Cancel Trip by Trip GUID
Request
| DELETE | {root_url}/v{version}/rides/CancelTripByTripGuid |
|---|
| Parameter | Type | Description | Notes |
|---|---|---|---|
| ride | string | See model definition below | REQUIRED |
| version | int | API version; currently = "1" | REQUIRED |
| Authorization | string | bearer {access token} | REQUIRED |
Model Definition
| Parameter | Type | Description | Notes |
|---|---|---|---|
| tp_api_key | string | REQUIRED | |
| trip_guid | string | Unique ID for the trip | REQUIRED |
| cancel_reason | string |
Expected Response Codes
| Code | Description |
|---|---|
| 200 | Request was successful. |
| 400 | Missing or unaligned data. Error message will be returned with response |
| 403 | The API key used does not have access to this resource. |