---
title: "Cancel a bid"
method: POST
path: "/flights/unbook"
tags: ["Flights"]
---

# Cancel a bid

`POST /flights/unbook`

Removes a bid the pilot no longer wants to fly. This is **not** the same as cancelling an in-progress flight — `unbook` only affects scheduled bids that haven't been started.

## Request body

- UnbookRequest
  - `bid_id` integer, required

## Response `200`

Bid removed.

- StatusOk
  - `status` 200, required

## Other responses

- `401` — Missing or invalid Bearer token.

---

[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)
