younifyd
Menu

Get Users Role Mappings Realm Available By User Id

Get users role mappings realm available by user id

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

Use it in a workflow

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

Request

Path parameters

realmstringrequired

realm name (not id!)

user-idstringrequired

Response

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

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

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