Remove user from group
nextcloud_remove_user_from_groupRemove a Nextcloud user from a group by specifying the user ID and group ID. Use this to revoke group membership and access rights.
Instructions
Remove one account from a group.
DELETE /ocs/v2.php/cloud/users/{user_id}/groups
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": {
"user_id": "<user_id>",
"group_id": "<group_id>"
},
"name": "nextcloud_remove_user_from_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Explicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt. | |
| user_id | Yes | ||
| group_id | Yes |