cURL
curl --request POST \ --url https://api.rigbox.dev/api/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>" }
Test whether an action would be allowed for a given principal and resource.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Authorization decision simulation