admin

Delete a user (admin)

Delete a user. With mode=now the user is removed immediately. With mode=scheduled (the default, matching the CLI) the user receives a confirmation email and is scheduled for deletion just like a self-initiated account deletion.

delete/admin/users/{id}

Path parameters

idinteger required

User ID

Query parameters

modestring

Deletion mode: 'now' for immediate deletion, 'scheduled' (default) to trigger the email-confirmation self-deletion flow.

Response

No Content

Changes

Changed in 2 of the 53 revisions of this API.11