delete_user
Permanently delete a user account as an Admin, ending sign-in and browser sessions while keeping their content. This irreversible action blocks deleting yourself or the last Admin.
Instructions
Permanently delete a user account (Admin only): they can no longer sign in and their browser sessions end. Content they wrote stays. You cannot delete yourself or the last Admin. Irreversible. Returns {ok:true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The user's id from list_users. | |
| site | No | Site slug or id to act in (multisite). Omit to use this server's default site. Call list_sites to see what exists — an empty tree or search usually means the wrong site, not missing content. |