Update a group’s permissions
update_groupReplace a Wiki.js group's name, permissions, and page rules in one operation. Requires a confirmation token because this action controls who can read and edit the wiki.
Instructions
Replaces a group’s name, permissions and page rules wholesale — this is not a partial update, and omitting a rule deletes it. Read the group with get_group first and send back the full set with your change applied. Requires a confirmation token, because this is the call that decides who can read and edit the wiki.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| group_id | Yes | Numeric Wiki.js id. | |
| page_rules | Yes | Complete page rule set. Replaces the existing one. | |
| permissions | Yes | Global permissions, e.g. ["read:pages","write:pages"]. Replaces the existing list. | |
| confirm_token | No | Token from this tool’s previous, unconfirmed call. Omit it to receive one. | |
| redirect_on_login | No | Where members land after signing in (default "/"). |