younifyd
Menu

List Roles Users By Role Name

List roles users by role name

GET/admin/realms/{realm}/roles/{role-name}/users

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

role-namestringrequired

the role name.

Query parameters

briefRepresentationboolean

Boolean which defines whether brief representations are returned (default: false)

firstinteger (int32)

first result to return. Ignored if negative or {@code null}.

maxinteger (int32)

maximum number of results to return. Ignored if negative or {@code null}.

Response

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

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

List Roles Users By Role Name — Keycloak — Documentation