Skip to content

Deletes a user account​

DELETE
/api/users/{userId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

userId*
Type
string
Required
Pattern
"[1-9]\\d*|current"

Request Body​

application/json
JSON
{
  
"reason": "This account was deleted because...",
  
"password": "Password123!",
  
"unsubscribeNewsletter": false,
  
"blockmail": false
}

Responses​

Success

Playground​

Authorization
Variables
Key
Value
Body

Samples​