Skip to content
Navigation

Check the current user’s permissions on resources

Checks resource access for the authenticated caller only. Authorization: any authenticated organization member — the subject is always the caller’s organization membership, so a caller can never probe another subject. Body: checks is a 1–50-item array of { permission, resourceType, resourceExternalId }. Returns { results } (one entry per check, each with an authorized boolean, in request order). If the caller has no organization-membership claim, returns { results: [] }.

POST
https://api.cloudraker.com/authorization/me/check
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • checks
    array of
    object
    required
    • permission
      string
      required
      minLength: 1
    • resourceType
      string
      required
      minLength: 1
    • resourceExternalId
      string
      required
      minLength: 1

Returns

200

Per-check authorization results for the calling user.

JSON
  • results
    array of
    object
    required

    One entry per requested check, in request order.

    • permission
      string
      required
    • resourceType
      string
      required
    • resourceExternalId
      string
      required
    • authorized
      boolean
      required

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

Type to search…

↑↓ navigate↵ selectEsc close