update_realm_role
Modify a realm role in Keycloak by updating its description, composite status, or target realm. Specify the role name and optional parameters to make changes and receive a status message.
Instructions
Update a realm role.
Args:
role_name: Current role name
description: New description
composite: Whether this is a composite role
realm: Target realm (uses default if not specified)
Returns:
Status message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
composite | No | ||
description | No | ||
realm | No | ||
role_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"composite": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Composite"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
},
"role_name": {
"title": "Role Name",
"type": "string"
}
},
"required": [
"role_name"
],
"title": "update_realm_roleArguments",
"type": "object"
}