Error
A valid request URL is required to generate request examples{
"status": 200
}{
"success": false,
"error": "Invalid Token"
}{
"error": "No active PIREP to cancel"
}Flights
Cancel an active flight
Cancels the in-progress PIREP and discards its FLIGHT_PATH rows. Send the uuid of the PIREP to cancel, or send an empty body to cancel the authenticated pilot’s most recent in-progress PIREP.
POST
/
flights
/
cancel
Error
A valid request URL is required to generate request examples{
"status": 200
}{
"success": false,
"error": "Invalid Token"
}{
"error": "No active PIREP to cancel"
}Authorizations
The pilot's API key, obtained via POST /pilot/login or your OAuth flow. Send as Authorization: Bearer <api_key> on every authenticated request.
Body
application/json
Response
PIREP cancelled.
Available options:
200 Was this page helpful?