Path: / admin / realms / {realm} / roles-by-id / {role-id}

Get a specific role's representation

Path parameters:
realm - realm name (not id!)
role-id - id of role

Sub-Resources
Resources
NameDescription
compositesIf this role is a composite, return a set of its children

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/roles-by-id/{role-id}Get a specific role's representation
DELETE /admin/realms/{realm}/roles-by-id/{role-id}Delete this role
PUT /admin/realms/{realm}/roles-by-id/{role-id}Update this role

Method Detail

GET /admin/realms/{realm}/roles-by-id/{role-id}

Get a specific role's representation

HTTP Example:
GET /admin/realms/{realm}/roles-by-id/{role-id}
Output:
RoleRepresentation -
Produces:
application/json

DELETE /admin/realms/{realm}/roles-by-id/{role-id}

Delete this role

HTTP Example:
DELETE /admin/realms/{realm}/roles-by-id/{role-id}
Output:
void

PUT /admin/realms/{realm}/roles-by-id/{role-id}

Update this role

HTTP Example:
PUT /admin/realms/{realm}/roles-by-id/{role-id}
Input:
RoleRepresentation
Output:
void
Consumes:
application/json