ApiFlight

Delete a flight

Delete a flight by ID.

POST
/flight/delete
AuthorizationBearer <token>

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

In: header

id?number

The ID of the flight to delete.

Response Body

curl -X POST "https://your-instance.com/api/flight/delete" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true
}
{
  "success": false,
  "errors": [
    "string"
  ]
}
{
  "success": "false",
  "message": "Unauthorized"
}
{
  "success": "false",
  "message": "string"
}
Edit on GitHub

Last updated on