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

# Reject flight authorization by ID

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

## Request

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

Rejects a flight authorization by its UUID ID, marking it as rejected by the current user with a reason

## Path parameters

- `id` string, uuid, required

## Request body

- RejectFlightAuthRequestDTO: Rejection request data
  - `rejectionReason` string, required

## Response `200`

Flight authorization rejected successfully

- RejectFlightAuthResponseDTO
  - `id` string
  - `rejectedBy` integer
  - `rejectionDate` string
  - `rejectionReason` string
  - `rejectionCode` 'ADMIN_DECISION' | 'EXPIRED' | 'CONFLICT' | 'PREEMPTED_BY_HIGHER_PRIORITY_OPERATION' | 'INTERSECTS_PROHIBITED_GEO_ZONE' | 'AIRSPACE_RESTRICTION_CONFLICT'

## Other responses

- `400`: Invalid UUID format or request body
- `401`: Authentication required
- `403`: Authorization denied
- `404`: Flight authorization not found
- `422`: Validation error - Only PROPOSED status flight authorizations can be rejected

---

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