Delete a Saved Location
Delete an existing Saved Location.
DELETE https://api.predicthq.com/v1/saved-locations/$location_id
Parameter | Description |
---|---|
location_id | An existing Saved Location ID. |
If successful, the HTTP response code will be
202 Accepted
.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)
Below are some guides relevant to this API:
Last modified 2mo ago