Herald
OpenapiUser

Self-service account deletion (soft-delete).

Requires an authenticated browser token. Anonymizes PII, marks the account `Deleted`, clears TOTP, cancels in-effect subscriptions, revokes all sessions (incl. the caller's), and records a `user.delete` audit event. One-time purchases are NOT refunded. Returns 204 on success — the caller's token is invalidated by the session wipe.

DELETE
/api/user

Requires an authenticated browser token. Anonymizes PII, marks the account Deleted, clears TOTP, cancels in-effect subscriptions, revokes all sessions (incl. the caller's), and records a user.delete audit event. One-time purchases are NOT refunded. Returns 204 on success — the caller's token is invalidated by the session wipe.

Request Body

application/json
  1. body

DELETE /api/user request body.

reauthToken*string

Single-use reauthentication ticket bound to account deletion.

Response Body

Account deleted (soft-delete); caller token revoked

Example Request
curl -X DELETE 'https://example.com/api/user' \
  -H 'Content-Type: application/json' \
  -d '{
  "reauthToken": "string"
}'
Example Response
Empty