younifyd
Menu

Get Users Role Mappings Realm Composite By User Id

Get users role mappings realm composite by user id

GET/admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Get Users Role Mappings Realm Composite By User Id action (under Role Mapper).
  3. Fill in the fields below, then reference the result from later steps as {{getUsersRoleMappingsRealmCompositeByUserId.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

user-idstringrequired

Query parameters

briefRepresentationboolean

if false, return roles with their attributes

Default true

Response

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

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

Get Users Role Mappings Realm Composite By User Id — Keycloak — Documentation