Skip to main content
POST
/
v1
/
rbac
/
check
Check permissions
curl --request POST \
  --url https://api.example.com/v1/rbac/check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "checks": [
    {
      "rec_type": "<string>",
      "permission": "<string>",
      "rec_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}
'
{
  "results": [
    {
      "allowed": true,
      "source": "direct",
      "source_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
checks
object[]
required

Response

200 - application/json

Permission check results

results
object[]