Skip to main content
DELETE
/
me
/
account
Delete User Account
curl --request DELETE \
  --url https://{deploymentHost}/me/account \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "currentPassword123!",
  "confirmation": "DELETE_MY_ACCOUNT"
}'
{
"status": 200,
"message": "",
"data": {
"account_deleted": true,
"user_id": "user_456789123",
"deleted_at": "2024-01-15T16:00:00Z",
"data_purged": true
},
"session": {
"signin_attempts": [],
"signins": [],
"signup_attempts": [],
"active_signin": null
},
"errors": []
}

Authorizations

__session
string
cookie
required

Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.

Body

application/json
password
string
required

Current account password for confirmation

confirmation
enum<string>
required

Confirmation string that must be exactly 'DELETE_MY_ACCOUNT'

Available options:
DELETE_MY_ACCOUNT

Response

Account deleted successfully

status
integer
required

HTTP status code

message
string
required

Response message (empty for success)

data
any
required

Response data (can be any type)

session
object
required
errors
object[]
required

Array of error objects (empty for success)