Menu
List Roles
List roles
GET
/admin/realms/{realm}/rolesUse it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the List Roles action (under Roles).
- Fill in the fields below, then reference the result from later steps as
{{listRoles.response.data}}.
Request
Path parameters
Query parameters
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.
Was this page helpful?