Delete Day Part

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:

``204 204

json

``400 400

Updated 10 months ago


ShellJavaScriptRuby


xxxxxxxxxx

curl -X POST -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" "https://api.kevel.co/v1/flight/12345/dayparting/67890/delete"

xxxxxxxxxx

## No response body

Updated 10 months ago