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

Realm-level roles that can be mapped to this user

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

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{username}/role-mappings/realm/availableRealm-level roles that can be mapped to this user

Method Detail

GET /admin/realms/{realm}/users/{username}/role-mappings/realm/available

Realm-level roles that can be mapped to this user

HTTP Example:
GET /admin/realms/{realm}/users/{username}/role-mappings/realm/available
API Example:

UsersResource.getAvailableRealmRoleMappings({'realm': /* name realm name (not id!) */,
  'username': /* username username (not id!) */});

Output:
List<RoleRepresentation> -
Produces:
application/json