---
title: "Accept flight authorization by ID"
method: POST
path: "/flight-auths/{id}/accept"
tags: ["flight-authorization"]
---

# Accept flight authorization by ID

`POST /flight-auths/{id}/accept`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/flight-auths/{id}/accept`
- Auth: API key in header `x-auth-token`

Accepts a flight authorization by its UUID ID, marking it as accepted by the current user

## Path parameters

- `id` string, uuid, required

## Response `200`

Flight authorization accepted successfully

- AcceptFlightAuthResponseDTO
  - `id` string
  - `acceptedBy` integer
  - `acceptanceDate` string

## Other responses

- `400`: Invalid UUID format
- `401`: Authentication required
- `403`: Authorization denied
- `404`: Flight authorization not found

---

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