Authorization

Allows the requesting user to check whether an access check will fail or succeed. Useful to conditionally disable parts of the UI that are known to be inaccessible.

get/api/v2/authz/access/{action}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

action101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 901 | 902 required

The integer values for the authorization actions are stored directly in the DB. This means you can change the name of the actions, but not their integer values. The values for the actions are spaced on purpose, to make it easier to extend. This has no technical benefit, but it makes it easier to read for developers.

Query parameters

resourcestring uuid
domainstring uuid

Response

Access check result

allowedboolean required

Changes

    • info

      added the new enum value 316.00 to the path request parameter action

    • info

      added the new enum value 110.00 to the path request parameter action

    • info

      added the new enum value 111.00 to the path request parameter action

    • info

      added the new enum value 112.00 to the path request parameter action

    • info

      added the new enum value 113.00 to the path request parameter action

    • info

      added the new enum value 114.00 to the path request parameter action

    • info

      added the new enum value 115.00 to the path request parameter action