Skip to main content
Confirm Account Deletion
Completes the self-service account-deletion flow. Verifies the one-time code sent by the Request Account Deletion endpoint and, on a match, permanently deletes the authenticated user’s account. Requires a valid user access token. The cascade is identical to the service-key Delete User endpoint: reactions, files, follows, connections, collections, reports, notifications, embeddings, and the user’s drafts (with everything attached to them) are removed, while the user’s published entities and comments are preserved as hollow shells (their userId, content, and attachments cleared) to keep threads intact. The user’s chat messages are deleted the way a user deleting their own message deletes it (content, GIF and mentions cleared, userDeletedAt set); each stays in its conversation as deleted. Mentions of the user in other entities, comments and chat messages keep their text, but their id and foreignId become null.
Deletion is immediate and irreversible. There is no grace period and no recovery once this endpoint returns 204.

Body Parameters

string
required
The one-time confirmation code from the deletion email. Must match the most recently issued code exactly.

Response

Returns 204 No Content on success. The user and their session tokens no longer exist after this call.

Error Codes

The confirmation code is single-use — it is consumed once deletion succeeds, so it cannot be replayed. If deletion fails with a server error, the code is left in place so you can retry until it expires (10-minute TTL).

See Also