Menu
Get Users Groups Count By User Id
Get users groups count by user id
GET
/admin/realms/{realm}/users/{user-id}/groups/countUse it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Get Users Groups Count By User Id action (under Users).
- Fill in the fields below, then reference the result from later steps as
{{getUsersGroupsCountByUserId.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getUsersGroupsCountByUserId.response.data.<field>}}.
Need more? See the Keycloak guide for connection setup and behaviour shared by every action.
Was this page helpful?