Remove a user from a group
unassign_user_from_groupRemove a user from a group. Requires confirmation token to prevent locking users out when removing them from their only group.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>",
"user_id": "<user_id>"
},
"name": "unassign_user_from_group"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |