## 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
  Name | Description
  --- | ---
  composites | If this role is a composite, return a set of its children

Resource Methods

  Method Summary
  Name | Description
  --- | ---
  `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}
| API Example: `RoleByIdResource.getRole({'realm': /* name realm name (not id!) */, 'role-id': /* id id of role */});`
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}
| API Example: `RoleByIdResource.deleteRole({'realm': /* name realm name (not id!) */, 'role-id': /* id id of role */});`
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}
| API Example: `RoleByIdResource.updateRole({'realm': /* name realm name (not id!) */, 'role-id': /* id id of role */, '$entity': /* rep */});`
Input: `RoleRepresentation` Output: `void` Consumes: application/json