---
title: "Cancel an active flight"
method: POST
path: "/flights/cancel"
tags: ["Flights"]
---

# Cancel an active flight

`POST /flights/cancel`

Cancels the in-progress PIREP and discards its FLIGHT_PATH rows. Send the `uuid` of the PIREP to cancel, or send an empty body to cancel the authenticated pilot's most recent in-progress PIREP.

## Request body

- CancelFlightRequest
  - `uuid` string, uuid — PIREP ID to cancel. If omitted, the server cancels the authenticated pilot's most recent in-progress PIREP.
  - `tracking_id` string, uuid — Synonym for `uuid`.

## Response `200`

PIREP cancelled.

- StatusOk
  - `status` 200, required

## Other responses

- `401` — Missing or invalid Bearer token.
- `404` — No active PIREP to cancel.

---

[API](https://skmtc.net/skyvexsoftware/apis/stratos-core-api.md) · [All operations](https://skmtc.net/skyvexsoftware/apis/stratos-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skyvexsoftware/stratos-core-api/versions/0b7ba98ff0aa/schema)
