Delete Flight Category

Why delete a flight category?

When you want to delete a flight category from a flight, you may use the Delete Flight Category API endpoint to remove a category.

📘

Note

It is important to understand that calling this endpoint will not delete the category from UserDB. This only removes the link to the flight.

API syntax

When using the Delete Flight Categories API, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET [https://api.kevel.co//v1/flight/{FlightID}/category/{FlightCategoryID}/delete\

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • flight- the API endpoint being called.
  • FlightID- The ID associated with the flight.
  • category- The different categories associated with the flight.
  • FlightCategoryID - The ID associated with the Flight Category.
  • delete - The action being taken with this API call.
Language
Authorization
Header