flight-authorization

Cancel flight authorization by ID

Cancels a flight authorization by its UUID ID, marking it as cancelled by the current user with an optional reason

post/flight-auths/{id}/cancel

Request

  • Base URL
    http://localhost:8486
  • Auth
    API key in header x-auth-token

Path parameters

idstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000

UUID of the flight authorization to cancel

Request body

reasonDescriptionstring

Optional detailed description of the cancellation reason

Example request

{
  "reasonDescription": "Flight authorization cancelled due to weather conditions"
}

Response

Flight authorization cancelled successfully

idstring
cancelledByinteger
cancellationDatestring
reasonDescriptionstring

Changes

No recorded changes to this operation across all 1 revision of this API.