Delete Day Part

Deletes a time part entity associated with a flight.

Why Delete a Day Part?

You may find it necessary on occasion to delete a time part entity already associated with a flight. The Delete Day Part API endpoint enables you to delete this time part entity from a flight using a simple POST API call. When you make this API call, the specific time part entity you have specified will be removed from the flight.

API Syntax

When using the Delete Day Part API endpoint, 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:

POST [https://api.kevel.co/v1/flight/{FlightID}/dayparting/{TimepartID}/delete

Where:

  • POST - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • campaign - the API endpoint being called.
  • FlightID - the ID associated with the flight.
  • dayparting - the day parting object.
  • TimepartID - the ID associated with the specific time part you want to delete.
  • delete - removes the time part from the existing flight.
Language