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

If this role is a composite, return a set of its children

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

Sub-Resources

  Resources
  Name | Description
  --- | ---
  applications ↳ applications/{app} | Return a set of application-level roles for a specific app that are in the role's composite
  applications-by-id ↳ applications-by-id/{appId} | Return a set of application-level roles for a specific app that are in the role's composite
  realm | Return a set of realm-level roles that are in the role's composite

Resource Methods

  Method Summary
  Name | Description
  --- | ---
  `POST /admin/realms/{realm}/roles-by-id/{role-id}/composites` | Make this role a composite role by associating some child roles to it.
  `GET /admin/realms/{realm}/roles-by-id/{role-id}/composites` | If this role is a composite, return a set of its children
  `DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites` | Remove the listed set of roles from this role's composite

Method Detail
### POST /admin/realms/{realm}/roles-by-id/{role-id}/composites Make this role a composite role by associating some child roles to it.
  HTTP Example:
      POST /admin/realms/{realm}/roles-by-id/{role-id}/composites
| API Example: `RoleByIdResource.addComposites({'realm': /* name realm name (not id!) */, 'role-id': /* id */, '$entity': /* roles */});`
Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json
### GET /admin/realms/{realm}/roles-by-id/{role-id}/composites If this role is a composite, return a set of its children
  HTTP Example:
      GET /admin/realms/{realm}/roles-by-id/{role-id}/composites
| API Example: `RoleByIdResource.getRoleComposites({'realm': /* name realm name (not id!) */, 'role-id': /* id */});`
Output: `Set<RoleRepresentation>` - Produces: application/json
### DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites Remove the listed set of roles from this role's composite
  HTTP Example:
      DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites
| API Example: `RoleByIdResource.deleteComposites({'realm': /* name realm name (not id!) */, 'role-id': /* id */, '$entity': /* roles */});`
Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json