APIFlights

Delete a flight

DELETE
/api/v1/flights/{id}

Authorization

bearerAuth flight.delete.own
AuthorizationBearer <token>

Send Authorization: Bearer <credential>. Create API keys in AirTrail Security settings. OAuth clients use authorization code with PKCE S256 and a resource identifier matching /api/v1.

In: header

Scope: flight.delete.own

Path Parameters

id*integer

Flight ID.

Range1 <= value

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/v1/flights/1"
Empty