API/Flight

Delete a flight

Delete a flight by ID.

POST
/flight/delete

Authorization

AuthorizationRequiredBearer <token>

Go to Settings -> Security and create a new API key. Use the generated key as the bearer token.

In: header

Request Body

application/jsonRequired
idnumber

The ID of the flight to delete.

curl -X POST "//flight/delete" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "id": 0
  }'

Flight deleted successfully

{
  "success": true
}

Edit on GitHub

Last updated on