Menu
Get Roles By Id By Role Id
Get roles by id by role id
GET
/admin/realms/{realm}/roles-by-id/{role-id}Use it in a workflow
- Add a step and choose the Keycloak connector.
- Pick the Get Roles By Id By Role Id action (under Roles (by ID)).
- Fill in the fields below, then reference the result from later steps as
{{getRolesByIdByRoleId.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getRolesByIdByRoleId.response.data.<field>}}.
{
"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.
Was this page helpful?