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

Get realm-level role mappings for this user

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

Resources
Name | Description
--- | ---
available | Realm-level roles that can be mapped to this user
composite | Effective realm-level role mappings for this user.

Method Summary
Resource | Description
--- | ---
`GET /admin/realms/{realm}/users/{username}/role-mappings/realm` | Get realm-level role mappings for this user
`POST /admin/realms/{realm}/users/{username}/role-mappings/realm` | Add realm-level role mappings
`DELETE /admin/realms/{realm}/users/{username}/role-mappings/realm` | Delete realm-level role mappings

Method Detail
HTTP Example:
    GET /admin/realms/{realm}/users/{username}/role-mappings/realm
Get realm-level role mappings for this user Output: `List<RoleRepresentation>` - Produces: application/json
HTTP Example:
    POST /admin/realms/{realm}/users/{username}/role-mappings/realm
Add realm-level role mappings Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json
HTTP Example:
    DELETE /admin/realms/{realm}/users/{username}/role-mappings/realm
Delete realm-level role mappings Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json