You may find it necessary when working with flights to remove geo-targeting settings so the flight no longer has specific areas or regions where the flight can be served. The Kevel API enables you to remove these settings by making an API request to the Delete Geo-Targeting endpoint and providing the
Flight ID and
LocationID in the request. When you pass these parameters in the request, you will be able to delete these settings.
When using the Delete Geo-Targeting 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:
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.
geotargeting- the geo-targeting settings for the flight.
LocationID- the ID from the geo-targeting endpoint.
delete- the action to remove geo-targeting settings from the flight.