ManagementDelete the caller's account
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": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}How is this guide?