POST
/
api
/
permissions
/
{sync_id}
/
batch-check
Batch Check Access
curl --request POST \
  --url https://sync.useparagon.com/api/permissions/{sync_id}/batch-check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "checks": [
    {
      "object": "<string>",
      "relation": "<string>",
      "user": "<string>"
    }
  ]
}'
{
  "result": [
    {
      "allowed": true,
      "request": {
        "object": "<string>",
        "relation": "<string>",
        "user": "<string>"
      },
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Paragon User Token. Add to the Authorization header of your requests.

Path Parameters

sync_id
string
required

Body

application/json

Response

200
application/json

Batch access check result

The response is of type object.