Remove group member
keycloak_group_member_removeRemove a user from a group by providing group and user IDs. Confirmation is required to proceed; without it, the removal is declined.
Instructions
Destructive write operation that requires confirmation. Removes a user from a group by their IDs. Not idempotent in effect since it gates on confirmation; resolve IDs with keycloak_group_list and keycloak_group_members_list first, and use keycloak_group_member_add to reverse it. Returns a message stating the user was removed, or, if confirmation was withheld, that it was not removed with the reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ID of the user (the user's UUID) to remove from the group. | |
| confirm | No | Set true to confirm and proceed with this destructive removal. When omitted or false, the operation is gated by interactive confirmation and may be declined. | |
| groupId | Yes | ID of the group to remove the member from (the group's UUID from keycloak_group_list). |