DELETE /v1/saved-shapes/{id}
Delete a saved shape.
| Access | |
|---|---|
| Keys | publishable or secret |
| Plan | Premium |
| Environment | live and sandbox |
| Acts for | one consumer |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
id |
string | Required. The saved shape's ID, "shp_…". |
Headers
| Name | Description |
|---|---|
X-Client-Token |
With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens. |
X-Client-Id |
With a secret key: required. Your own opaque ID for the consumer. |
Answers
204: Deleted
No body.
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
204 with no body, or 404 not_found. Reads and deletes keep working while the account is
suspended.
A shape that one of the consumer's saved searches names isn't deleted:
the answer is 409 shape_in_use, and savedSearchIds lists the
searches. Edit or delete those first.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.