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

Get the roles associated with a client's scope for a specific application.

Path parameters:
app - roles associated with client's scope for a specific application
app-name -
realm - realm name (not id!)

Resources
NameDescription
availableThe available application-level roles that can be associated with the client's scope
compositeGet effective application roles that are associated with the client's scope for a specific application.

Method Summary
ResourceDescription
GET /admin/realms/{realm}/applications/{app-name}/scope-mappings/applications/{app}Get the roles associated with a client's scope for a specific application.
POST /admin/realms/{realm}/applications/{app-name}/scope-mappings/applications/{app}Add application-level roles to the client's scope
DELETE /admin/realms/{realm}/applications/{app-name}/scope-mappings/applications/{app}Remove application-level roles from the client's scope.

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

Get the roles associated with a client's scope for a specific application.

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

Add application-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/applications/{app}

Remove application-level roles from the client's scope.

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