account-lifecycle
account-lifecycle
Delete My Account
Delete the calling user's account and personal data.
Sequence:
- Resolve user from Clerk session
- Capture clerk_user_id BEFORE we touch the row (we'll need it for Clerk revocation after the local delete)
- Anonymize PII fields — this satisfies the privacy obligation even if subsequent steps fail
- Wipe PII-heavy child tables explicitly (the ones that don't have CASCADE on FK or that hold standalone PII)
- Hard delete the users row (CASCADE handles most child tables)
- Revoke from Clerk
- Return confirmation
Returns: 200 {ok: true, anonymized: true, hard_deleted: bool, clerk_revoked: bool} 410 if account is already deleted (idempotent re-delete)
delete/api/account/me
Request
- Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
- URL: https://api.activitia.net/api/account/me
- Auth: none declared
Headers
authorizationstring
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.