list_groups
Retrieve and manage group listings within a Keycloak realm using pagination, search, and customizable parameters to streamline access control.
Instructions
List all groups in the realm.
Args:
first: Pagination offset
max: Maximum results size
search: Search string
realm: Target realm (uses default if not specified)
Returns:
List of groups
Input Schema
Name | Required | Description | Default |
---|---|---|---|
first | No | ||
max | No | ||
realm | No | ||
search | No |
Input Schema (JSON Schema)
{
"properties": {
"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"
}
},
"title": "list_groupsArguments",
"type": "object"
}