younifyd
Menu

Get Clients Roles By Client Uuid Role Name

Get clients roles by client uuid role name

GET/admin/realms/{realm}/clients/{client-uuid}/roles/{role-name}

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Get Clients Roles By Client Uuid Role Name action (under Roles).
  3. Fill in the fields below, then reference the result from later steps as {{getClientsRolesByClientUuidRoleName.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

client-uuidstringrequired

id of client (not client-id!)

role-namestringrequired

role's name (not id!)

Response

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

idstring
namestring
descriptionstring
scopeParamRequiredboolean
compositeboolean
compositesobject
realmarray<string>
clientobject
applicationobject
clientRoleboolean
containerIdstring
attributesobject
json
{
  "id": "string",
  "name": "string",
  "description": "string",
  "scopeParamRequired": false,
  "composite": false,
  "composites": {
    "realm": [
      "string"
    ],
    "client": {},
    "application": {}
  },
  "clientRole": false,
  "containerId": "string",
  "attributes": {}
}

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

Get Clients Roles By Client Uuid Role Name — Keycloak — Documentation