Links

Delete a Saved Location

Delete an existing Saved Location.

Request

HTTP Request

DELETE https://api.predicthq.com/v1/saved-locations/$location_id

Path Parameters

Parameter
Description
location_id
An existing Saved Location ID.

Response

If successful, the HTTP response code will be 202 Accepted.

Examples

curl
python
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)

Guides

Below are some guides relevant to this API: