> ## 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.

# Update Flight Settings

> Update workspace flight settings including airports, airlines, fleet, and progression rules

Update airports, gates, airlines, aircraft fleet models, ticket classes, timezone, and auto-status progression settings for the workspace Flights module.

## Request

```bash theme={null}
curl -X PUT "https://api.series.hr/flights/settings" \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "TimeFormat": "24h",
    "Timezone": "America/New_York",
    "AutoStatusProgression": {
      "Enabled": true,
      "BoardingMinutesBefore": 20,
      "GateClosedMinutesBefore": 5,
      "DepartedMinutesOffset": 0,
      "InFlightMinutesOffset": 3,
      "LandedMinutesOffset": 0,
      "ArrivedMinutesOffset": 2
    }
  }'
```

## Parameters

<ParamField body="MainAirportId" type="string">
  Default/primary airport ID for the workspace.
</ParamField>

<ParamField body="Airports" type="array">
  List of airport configurations with terminals and gates.
</ParamField>

<ParamField body="Airlines" type="array">
  List of operating airline definitions.
</ParamField>

<ParamField body="AircraftFleet" type="array">
  List of aircraft fleet types.
</ParamField>

<ParamField body="TicketClasses" type="array">
  List of ticket classes and gamepass configurations.
</ParamField>

<ParamField body="TimeFormat" type="string">
  Time display format: `12h` or `24h`.
</ParamField>

<ParamField body="Timezone" type="string">
  Timezone string (e.g. `UTC`, `America/New_York`).
</ParamField>

<ParamField body="AutoStatusProgression" type="object">
  Automatic status progression milestone offsets.
</ParamField>

## Response

<ResponseField status={200} name="200">
  ```json theme={null}
  {
    "success": true,
    "data": {
      "Message": "Flight settings updated successfully",
      "Settings": {
        "WorkspaceId": "a7d5339a-5531-4336-99c6-6f3249c9ac20",
        "TimeFormat": "24h",
        "Timezone": "America/New_York",
        "UpdatedAt": "2026-09-01T12:00:00.000Z"
      }
    }
  }
  ```
</ResponseField>

## Status Codes

* `200`: Flight settings updated successfully
* `401`: API key is required
* `403`: Flights module is not enabled
