list_client_roles
Retrieve roles for a specific client using pagination, search, and realm parameters to manage access in Keycloak identity systems efficiently.
Instructions
List roles for a specific client.
Args:
client_id: Client database ID
first: Pagination offset
max: Maximum results size
search: Search string
realm: Target realm (uses default if not specified)
Returns:
List of client roles
Input Schema
Name | Required | Description | Default |
---|---|---|---|
client_id | Yes | ||
first | No | ||
max | No | ||
realm | No | ||
search | No |
Input Schema (JSON Schema)
{
"properties": {
"client_id": {
"title": "Client Id",
"type": "string"
},
"first": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "First"
},
"max": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Max"
},
"realm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Realm"
},
"search": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Search"
}
},
"required": [
"client_id"
],
"title": "list_client_rolesArguments",
"type": "object"
}