Delete a user
delete_userRemove a user account from Wiki.js. Provide a replacement user to inherit their pages; a confirmation token is required to complete deletion.
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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |