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 -

Resources
NameDescription
applications
applications/{app}
Return a set of application-level roles for a specific app that are in the role's composite
realmReturn a set of realm-level roles that are in the role's composite

Method Summary
ResourceDescription
POST /admin/realms/{realm}/roles-by-id/{role-id}/compositesMake this role a composite role by associating some child roles to it.
GET /admin/realms/{realm}/roles-by-id/{role-id}/compositesIf this role is a composite, return a set of its children
DELETE /admin/realms/{realm}/roles-by-id/{role-id}/compositesRemove the listed set of roles from this role's composite

Method Detail
HTTP Example:
POST /admin/realms/{realm}/roles-by-id/{role-id}/composites

Make this role a composite role by associating some child roles to it.

Input:
List<RoleRepresentation>
Output:
void
Consumes:
application/json
HTTP Example:
GET /admin/realms/{realm}/roles-by-id/{role-id}/composites

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

Output:
Set<RoleRepresentation> -
Produces:
application/json
HTTP Example:
DELETE /admin/realms/{realm}/roles-by-id/{role-id}/composites

Remove the listed set of roles from this role's composite

Input:
List<RoleRepresentation>
Output:
void
Consumes:
application/json