Path: / admin / realms / {realm} / users / {username} / role-mappings / applications / {app}

Get application-level role mappings for this user for a specific app

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

Resources
NameDescription
availableGet available application-level roles that can be mapped to the user
compositeGet effective application-level role mappings.

Method Summary
ResourceDescription
GET /admin/realms/{realm}/users/{username}/role-mappings/applications/{app}Get application-level role mappings for this user for a specific app
POST /admin/realms/{realm}/users/{username}/role-mappings/applications/{app}Add applicaiton-level roles to the user role mapping.
DELETE /admin/realms/{realm}/users/{username}/role-mappings/applications/{app}Delete application-level roles from user role mapping.

Method Detail
HTTP Example:
GET /admin/realms/{realm}/users/{username}/role-mappings/applications/{app}

Get application-level role mappings for this user for a specific app

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

Add applicaiton-level roles to the user role mapping.

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

Delete application-level roles from user role mapping.

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