Skip to main content

Delete a user

Enterprise Only

This endpoint is only available in the Enterprise package and requires the authenticated user to be a Super Admin.

You cannot delete your own account.

Method: DELETE

URL: https://example.com/<MIXPOST_CORE_PATH>/api/panel/users/{userId}

Authorization: Bearer <token>

Response:

{
"success": true
}

If attempting to delete your own account:

{
"success": false,
"message": "You cannot delete yourself."
}