Delete an existing Saved Location.
Last updated 6 months ago
Was this helpful?
DELETE https://api.predicthq.com/v1/saved-locations/$location_id
location_id
An existing Saved Location ID.
If successful, the HTTP response code will be 202 Accepted.
202 Accepted
curl -X DELETE "https://api.predicthq.com/v1/saved-locations/$LOCATION_ID" \ -H "Authorization: Bearer $ACCESS_TOKEN"
import requests response = requests.delete( url="https://api.predicthq.com/v1/saved-locations/$LOCATION_ID", headers={ "Authorization": "Bearer $ACCESS_TOKEN" } ) print(response.status_code)
Below are some guides relevant to this API: