Herald
OpenapiRole definitions

List roles in the realm

List all role definitions for the admin-web-console client. Requires `roles.view` permission.

GET
/api/roles/define

List all role definitions for the admin-web-console client. Requires roles.view permission.

Authorization

bearer_auth
headerAuthorizationBearer <token>

Response Body

List of roles

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://example.com/api/roles/define'
Example Response
[
  {
    "clientId": "string",
    "description": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "isBuiltin": true,
    "name": "string",
    "realmId": "string"
  }
]