CASE FrameworkCASE Framework

List permissions and roles

GET
/v1/auth/permissions

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/auth/permissions"
{
  "isAdmin": true,
  "permissions": [
    {
      "id": "string",
      "subjectId": "string",
      "subjectType": "string",
      "resourceType": "string",
      "resourceKey": "string",
      "action": "string",
      "limiter": {
        "property1": "string",
        "property2": "string"
      }
    }
  ],
  "appRoles": [
    {
      "id": "string",
      "subjectId": "string",
      "subjectType": "string",
      "appName": "string",
      "role": "string",
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}