Delete authenticated user account
Requires confirm=DELETE_AGENTRY_ACCOUNT and a stable Idempotency-Key. Before admission it rejects active or unresolved Stripe billing; the same transaction installs an account checkout fence. Finalization removes Agentry-owned account/project state and detaches or best-effort revokes local PostHog OAuth connections. It never deletes or mutates customer-owned PostHog data. It returns 202 while bounded local cleanup is active and 409 when billing remediation is required. Its surviving hash-only tombstone lets an exact retry recover only the terminal manifest after account authority is revoked.
Request
- Base URL: https://api.agentry.sh
- URL: https://api.agentry.sh/v1/auth/self_delete
- Auth: HTTP bearer
Headers
Stable 8-500 character command key. Preserve it only when replaying the exact same request; use a new key for a distinct command.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.