## Path: / admin / realms / {realm} / applications-by-id / {app-name} / scope-mappings / applications-by-id / {appId}

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

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

Sub-Resources

  Resources
  Name | Description
  --- | ---
  available | The available application-level roles that can be associated with the client's scope
  composite | Get effective application roles that are associated with the client's scope for a specific application.

Resource Methods

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

Method Detail
### GET /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId} Get the roles associated with a client's scope for a specific application.
  HTTP Example:
      GET /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId}
| API Example: `ScopeMappedApplicationResource.getApplicationScopeMappings({'realm': /* name realm name (not id!) */, 'app-name': /* name */, 'appId': …});`
Output: `List<RoleRepresentation>` - Produces: application/json
### POST /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId} Add application-level roles to the client's scope
  HTTP Example:
      POST /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId}
| API Example: `ScopeMappedApplicationResource.addApplicationScopeMapping({'realm': /* name realm name (not id!) */, 'app-name': /* name */, 'appId': …, '$entity': /* roles */});`
Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json
### DELETE /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId} Remove application-level roles from the client's scope.
  HTTP Example:
      DELETE /admin/realms/{realm}/applications-by-id/{app-name}/scope-mappings/applications-by-id/{appId}
| API Example: `ScopeMappedApplicationResource.deleteApplicationScopeMapping({'realm': /* name realm name (not id!) */, 'app-name': /* name */, 'appId': …, '$entity': /* roles */});`
Input: `List<RoleRepresentation>` Output: `void` Consumes: application/json