younifyd
Menu

List Users Groups By User Id

List users groups by user id

GET/admin/realms/{realm}/users/{user-id}/groups

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

user-idstringrequired

Query parameters

briefRepresentationboolean

Default true

firstinteger (int32)
maxinteger (int32)
searchstring

Response

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

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

List Users Groups By User Id — Keycloak — Documentation