Remove a user from a group
unassign_user_from_groupRemove a user from a group. A confirmation token prevents removing a user's only group and losing all access.
Instructions
Takes one account out of one group. Requires a confirmation token — removing somebody from their only group leaves them able to sign in and see nothing.
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. |