Update a user
update_userModify a Wiki.js user's profile fields or group assignments. Provide the user ID and new details; note that groups replace all current memberships.
Instructions
Changes an account’s details or its group membership. The groups list replaces the existing one rather than adding to it — use assign_user_to_group for a single addition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | Email address, which is also the login for local accounts. | ||
| groups | No | Replaces the whole group list. | |
| user_id | Yes | Numeric Wiki.js id. | |
| location | No | ||
| job_title | No | ||
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |