create_realm_role
Define and manage access permissions by creating new realm roles in Keycloak, specifying name, description, type, and target realm.
Instructions
Create a new realm role.
Args:
name: Role name
description: Role description
composite: Whether this is a composite role
client_role: Whether this is a client role
realm: Target realm (uses default if not specified)
Returns:
Status message
Input Schema
Name | Required | Description | Default |
---|---|---|---|
client_role | No | ||
composite | No | ||
description | No | ||
name | Yes | ||
realm | No |
Input Schema (JSON Schema)
{
"properties": {
"client_role": {
"default": false,
"title": "Client Role",
"type": "boolean"
},
"composite": {
"default": false,
"title": "Composite",
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"name": {
"title": "Name",
"type": "string"
},
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
}
},
"required": [
"name"
],
"title": "create_realm_roleArguments",
"type": "object"
}