Skip to main content
POST
/
api
/
v1
/
access-control
/
simulate
Simulate access
curl --request POST \
  --url https://api.rigbox.dev/api/v1/access-control/simulate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "<string>",
  "resource": "<string>",
  "principal": "<string>"
}
'
{
  "action": "<string>",
  "allowed": true,
  "principal": "<string>",
  "reason": "<string>",
  "resource": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt

Use this file to discover all available pages before exploring further.

Useful for debugging access control policies without making actual changes.

Authorizations

Authorization
string
header
required

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

Body

application/json
action
string
required
resource
string
required
principal
string | null

Response

200 - application/json

Simulation result

action
string
required
allowed
boolean
required
principal
string
required
reason
string
required
resource
string
required