Skip to main content
Glama

mcp-keycloak

by idoyudha

remove_realm_role_from_user

Remove specific realm roles assigned to a user in Keycloak by specifying the user ID, role names, and target realm (optional). Ensures precise role management.

Instructions

Remove realm roles from a user. Args: user_id: User ID role_names: List of role names to remove realm: Target realm (uses default if not specified) Returns: Status message

Input Schema

NameRequiredDescriptionDefault
realmNo
role_namesYes
user_idYes

Input Schema (JSON Schema)

{ "properties": { "realm": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Realm" }, "role_names": { "items": { "type": "string" }, "title": "Role Names", "type": "array" }, "user_id": { "title": "User Id", "type": "string" } }, "required": [ "user_id", "role_names" ], "title": "remove_realm_role_from_userArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idoyudha/mcp-keycloak'

If you have feedback or need assistance with the MCP directory API, please join our Discord server