younifyd
Menu

List Roles

List roles

GET/admin/realms/{realm}/roles

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

Query parameters

briefRepresentationboolean

Default true

firstinteger (int32)
maxinteger (int32)
searchstring

Default ""

Response

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

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

List Roles — Keycloak — Documentation