younifyd
Menu

List Groups Role Mappings By Group Id

List groups role mappings by group id

GET/admin/realms/{realm}/groups/{group-id}/role-mappings

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the List Groups Role Mappings By Group Id action (under Role Mapper).
  3. Fill in the fields below, then reference the result from later steps as {{listGroupsRoleMappingsByGroupId.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

group-idstringrequired

Response

Returns 200 with an object. Read it in later steps with {{listGroupsRoleMappingsByGroupId.response.data.<field>}}.

realmMappingsarray<object>
idstring
namestring
descriptionstring
scopeParamRequiredboolean
compositeboolean
compositesobject3 fields
clientRoleboolean
containerIdstring
attributesobject
clientMappingsobject
json
{
  "realmMappings": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "scopeParamRequired": false,
      "composite": false,
      "composites": {
        "realm": [
          "string"
        ],
        "client": {},
        "application": {}
      },
      "clientRole": false,
      "containerId": "string",
      "attributes": {}
    }
  ],
  "clientMappings": {}
}

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