> ## Documentation Index
> Fetch the complete documentation index at: https://docs.series.hr/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Flight

> Permanently delete a scheduled or historical flight

Permanently remove a flight from the workspace database.

## Request

```bash theme={null}
curl -X DELETE "https://api.series.hr/flights/delete/flt_1740000000000_abcde" \
  -H "apikey: YOUR_API_KEY"
```

## Parameters

<ParamField path="flightId" type="string" required>
  The `FlightId` or `FlightNumber` of the flight to delete.
</ParamField>

## Response

<ResponseField status={200} name="200">
  ```json theme={null}
  {
    "success": true,
    "data": {
      "Message": "Flight deleted successfully",
      "FlightId": "flt_1740000000000_abcde"
    }
  }
  ```
</ResponseField>

## Status Codes

* `200`: Flight deleted successfully
* `401`: API key is required
* `404`: Flight not found
