---
updatedAt: 2026-09-23T20:14:04.000Z
agentTools:
  projectIndex: https://mediroutes-api.readme.io/llms.txt
---

# Rides

# 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.                 |