younifyd
Menu

List Groups

List groups

GET/admin/realms/{realm}/groups

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the List Groups action (under Groups).
  3. Fill in the fields below, then reference the result from later steps as {{listGroups.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

Query parameters

briefRepresentationboolean

Default true

exactboolean

Default "false"

firstinteger (int32)
maxinteger (int32)
populateHierarchyboolean

Default true

qstring
searchstring
subGroupsCountboolean

Boolean which defines whether to return the count of subgroups for each group (default: true

Default "true"

Response

Returns 200 with a array<object>. Read it in later steps with {{listGroups.response.data.<field>}}.

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.

List Groups — Keycloak — Documentation