Skip to main content

Endpoint

Overview

Permanently deletes the authenticated user’s account. This action is irreversible and will:
  • Delete all user data
  • Cancel all Polar subscriptions
  • Delete all sessions
  • Delete all service entitlements
  • Delete all audit logs (cascade delete)

Request

string
required
User password for verification
string
Required if 2FA is enabled. TOTP code from authenticator app.

Response

boolean
Always true on success
string
“Account deleted successfully”

Implementation Details

Code Reference

Status Codes

OK
Account deleted successfully
Bad Request
Validation error
Unauthorized
Invalid password or 2FA code
Not Found
User not found

Example Request

Example Response

Irreversible Action: Account deletion is permanent and cannot be undone. All user data, sessions, entitlements, and audit logs will be permanently deleted.

Security Notes

  • Requires password verification
  • Requires 2FA code if 2FA is enabled
  • All Polar subscriptions are canceled before deletion
  • Cascade deletes remove all related data
  • Final audit log entry is created before deletion

Audit Events

  • USER_DELETE: Account deleted (created before deletion)