DELETE /v1/clients/{clientId}
Delete everything stored for one consumer.
| Access | |
|---|---|
| Keys | secret only |
| Plan | every plan |
| Environment | live and sandbox |
| Acts for | the consumer the path names |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
clientId |
string | Required. The consumer's opaque ID, as your server names them. |
Answers
204: Deleted, whether or not the consumer had any data
No body.
Errors
| Status | Codes |
|---|---|
| 400 | client_id_must_be_opaque, validation_failed |
| 401 | invalid_api_key, key_revoked, missing_api_key |
| 403 | account_pending, origin_not_allowed, secret_key_in_browser, secret_key_required |
| 429 | rate_limited |
| 500 | internal_error, temporarily_unavailable |
Every error has the same body, and says how to fix it (responses and errors).
More
Hard-deletes everything stored for one consumer of your account: favorites,
saved shapes, saved searches, the notices recorded for that consumer (with their webhook
deliveries) and its Idempotency-Key records. Use it for consumer privacy requests.
{clientId}is the consumer's opaque ID. An invalid ID is400 client_id_must_be_opaque.- Response:
204with no body, whether or not the consumer had any data (deleting is idempotent). Re-creating the same client afterwards starts empty. - An
X-Client-Idheader on this call is ignored; the path names the consumer. - Works while the account is suspended, so consumers can still be forgotten.
- Waits at most about a second for an in-flight write of the same consumer; past that it answers
500 temporarily_unavailablewithRetry-After, and nothing is changed.
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.