## Path: / admin / realms / {realm} / applications / {app-name} / roles

List all roles for this realm or application

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

Resources
Name | Description
--- | ---
{role-name} | Get a role by name

Method Summary
Resource | Description
--- | ---
`GET /admin/realms/{realm}/applications/{app-name}/roles` | List all roles for this realm or application
`POST /admin/realms/{realm}/applications/{app-name}/roles` | Create a new role for this realm or application

Method Detail
HTTP Example:
    GET /admin/realms/{realm}/applications/{app-name}/roles
List all roles for this realm or application Output: `List<RoleRepresentation>` - Produces: application/json
HTTP Example:
    POST /admin/realms/{realm}/applications/{app-name}/roles
Create a new role for this realm or application Input: `RoleRepresentation` Output: `javax.ws.rs.core.Response` - Consumes: application/json