remove_user_from_group
Remove a user from a specified group in Keycloak by providing the user ID, group ID, and optional realm. Returns a status message indicating success or failure.
Instructions
Remove a user from a group.
Args:
user_id: User ID
group_id: Group ID
realm: Target realm (uses default if not specified)
Returns:
Status message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
group_id | Yes | ||
realm | No | ||
user_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"group_id": {
"title": "Group Id",
"type": "string"
},
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
},
"user_id": {
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"group_id"
],
"title": "remove_user_from_groupArguments",
"type": "object"
}