# 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`](../../errors/client_id_must_be_opaque.md), [`validation_failed`](../../errors/validation_failed.md) | | 401 | [`invalid_api_key`](../../errors/invalid_api_key.md), [`key_revoked`](../../errors/key_revoked.md), [`missing_api_key`](../../errors/missing_api_key.md) | | 403 | [`account_pending`](../../errors/account_pending.md), [`origin_not_allowed`](../../errors/origin_not_allowed.md), [`secret_key_in_browser`](../../errors/secret_key_in_browser.md), [`secret_key_required`](../../errors/secret_key_required.md) | | 429 | [`rate_limited`](../../errors/rate_limited.md) | | 500 | [`internal_error`](../../errors/internal_error.md), [`temporarily_unavailable`](../../errors/temporarily_unavailable.md) | Every error has the same body, and says how to fix it ([responses and errors](../../concepts/responses-and-errors.md)). ## 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 is `400 client_id_must_be_opaque`. - Response: `204` with no body, whether or not the consumer had any data (deleting is idempotent). Re-creating the same client afterwards starts empty. - An `X-Client-Id` header 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_unavailable` with `Retry-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._