Add a user to a group
assign_user_to_groupAdd a user to a group without altering their existing group memberships. Requires a confirmation token to grant access, making it safe for permission changes.
Instructions
Adds one account to one group, leaving its other memberships alone — the additive counterpart to update_user’s groups list. Requires a confirmation token, because a group is what grants access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Numeric Wiki.js id. | |
| group_id | Yes | Numeric Wiki.js id. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. |