Check one compound authorization requirement

POST
/v1/access/check

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/access/check" \  -H "Content-Type: application/json" \  -d '{    "match": "all",    "requirements": [      {        "action": "server.observe",        "resource": {          "type": "server",          "deployment_id": "string"        }      }    ]  }'
{  "allowed": true,  "decisions": [    {      "allowed": true,      "reason_code": "string"    }  ]}