Path: / admin / realms / {realm} / oauth-clients / {clientId} / scope-mappings / realm / available

Get list of realm-level roles that are available to attach to this client's scope.

Path parameters:
realm - realm name (not id!)
clientId - oauth client's clientId

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/oauth-clients/{clientId}/scope-mappings/realm/availableGet list of realm-level roles that are available to attach to this client's scope.

Method Detail

GET /admin/realms/{realm}/oauth-clients/{clientId}/scope-mappings/realm/available

Get list of realm-level roles that are available to attach to this client's scope.

HTTP Example:
GET /admin/realms/{realm}/oauth-clients/{clientId}/scope-mappings/realm/available
API Example:

ScopeMappedResource.getAvailableRealmScopeMappings({'realm': /* name realm name (not id!) */,
  'clientId': /* clientId oauth client's clientId */});

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