---
title: "POST /trips/{trip_id}/cancel_flights"
method: POST
path: "/trips/{trip_id}/cancel_flights"
tags: ["trips"]
---

# POST /trips/{trip_id}/cancel_flights

`POST /trips/{trip_id}/cancel_flights`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/trips/{trip_id}/cancel_flights`
- Auth: API key in header `Authorization`

## Request body

- CancelFlightsParameters
  - `booking_segment_to_travelers_ids` integer[]
  - `reason` string, nullable
  - `save_residual_value` boolean

## Response `202`

Request accepted, processing continues off-line

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
