Why Delete Distance Targeting Geometry?
You may find it necessary to remove a distance targeting geometry object from a flight when you want to change the targeting parameters for that flight. The Kevel API enables you to delete a distance targeting geometry object using the
DELETE call to the Distance Targeting Geometry API endpoint. When you make this request, the geometry object associated with the flight you specified, using
FlightID will be removed from the flight.
When using the Delete Distance Targeting Geometry 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:
DELETE- 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.
distance- the distance targeting geometry object that contains the
StreetAddressbody parameters used for distance targeting.
GeometryID- The ID of the Distance Targeting geometry