Delete a user
delete_userDelete a user account and reassign their authored pages to another user. Provide a confirmation token to complete removal.
Instructions
Removes an account. Wiki.js needs somebody to inherit the pages it authored, so replace_with_user_id is required — pass the id of the account that should own them afterwards. Requires a confirmation token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Numeric Wiki.js id. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. | |
| replace_with_user_id | Yes | Account that inherits the deleted user’s pages. |