---
title: "Delete multiple pilots"
method: DELETE
path: "/orgmng/pilots"
tags: ["Pilot"]
---

# Delete multiple pilots

`DELETE /orgmng/pilots`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/orgmng/pilots`
- Auth: API key in header `x-auth-token`

Marks all specified pilots as RETIRED in the system and removes them from the identity provider.

## Request body

- DeletePilotsDTO
  - `pilotIds` integer[], required

## Response `204`

Pilots deleted successfully

## Other responses

- `403`: Access forbidden - user does not have permission to delete pilots
- `404`: One or more pilots not found
- `409`: One or more pilots already retired
- `500`: Internal server error

---

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