younifyd
Menu

Get Groups By Group Id

Get groups by group id

GET/admin/realms/{realm}/groups/{group-id}

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

group-idstringrequired

Response

Returns 200 with an object. Read it in later steps with {{getGroupsByGroupId.response.data.<field>}}.

idstring
namestring
descriptionstring
pathstring
parentIdstring
subGroupCountinteger (int64)
subGroupsarray<object>
attributesobject
realmRolesarray<string>
clientRolesobject
accessobject
json
{
  "id": "string",
  "name": "string",
  "description": "string",
  "path": "string",
  "parentId": "string",
  "subGroupCount": 0,
  "subGroups": [
    {}
  ],
  "attributes": {},
  "realmRoles": [
    "string"
  ],
  "clientRoles": {},
  "access": {}
}

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

Get Groups By Group Id — Keycloak — Documentation