Path: / admin / realms / {realm} / applications / {app-name} / scope-mappings / realm

Get list of realm-level roles associated with this client's scope.

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

Resources
NameDescription
availableGet list of realm-level roles that are available to attach to this client's scope.
compositeGet all effective realm-level roles that are associated with this client's scope.

Method Summary
ResourceDescription
GET /admin/realms/{realm}/applications/{app-name}/scope-mappings/realmGet list of realm-level roles associated with this client's scope.
POST /admin/realms/{realm}/applications/{app-name}/scope-mappings/realmAdd a set of realm-level roles to the client's scope
DELETE /admin/realms/{realm}/applications/{app-name}/scope-mappings/realmRemove a set of realm-level roles from the client's scope

Method Detail
HTTP Example:
GET /admin/realms/{realm}/applications/{app-name}/scope-mappings/realm

Get list of realm-level roles associated with this client's scope.

Output:
List<RoleRepresentation> -
Produces:
application/json
HTTP Example:
POST /admin/realms/{realm}/applications/{app-name}/scope-mappings/realm

Add a set of realm-level roles to the client's scope

Input:
List<RoleRepresentation>
Output:
void
Consumes:
application/json
HTTP Example:
DELETE /admin/realms/{realm}/applications/{app-name}/scope-mappings/realm

Remove a set of realm-level roles from the client's scope

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