Delete the caller's account
1 min readEdit this page
Rust-first account deletion: destroys every credential under the user (API keys, OAuth tokens/clients, BYOK keys), archives all owned namespaces, and tombstones the IdP subject so the account cannot be re-provisioned. Irreversible; the caller's own session is revoked.
Requires the user:write scope.
x-api-key<token>
Anthropic-style API key header.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/account"{}{ "error": "string", "error_description": "string"}{ "error": "string", "error_description": "string"}{ "error": "string", "error_description": "string"}How is this guide?