Skip to content

Deletes a user account​

DELETE
/api/users/{userId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters​

Path Parameters

userId*
Typestring
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​

cURL
JavaScript
PHP
Python