Delete a Saved Location
Delete an existing Saved Location.
Permanently delete a saved location by ID. This action is irreversible — the location and all associated insights data will be removed.
Authorizations
AuthorizationstringRequired
Enter your PredictHQ API key. The Bearer prefix is added automatically.
When calling the API directly, send: Authorization: Bearer <YOUR_API_KEY> as documented at https://docs.predicthq.com/api/overview/authenticating
Path parameters
location_idstringRequired
An existing Saved Location ID.
Responses
204
Successful Response
No content
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
delete/v1/saved-locations/{location_id}
DELETE /v1/saved-locations/{location_id} HTTP/1.1
Host: api.predicthq.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Examples
The following examples delete a Saved Location by its ID:
OpenAPI spec
Guides
These guides are relevant to this API:
Last updated
Was this helpful?