POST
/
api
/
permissions
/
{syncId}
/
batch-check
Batch Check Access
curl --request POST \
  --url https://sync.useparagon.com/api/permissions/{syncId}/batch-check \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "checks": [
    {
      "object": "a657df3b-17e2-5989-bc5f-13ddb7fdab41",
      "role": "can_read",
      "user": "user:[email protected]"
    }
  ]
}'
{
  "result": [
    {
      "allowed": true,
      "request": {
        "object": "a657df3b-17e2-5989-bc5f-13ddb7fdab41",
        "role": "can_read",
        "user": "user:[email protected]"
      },
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

syncId
string
required

Body

application/json

Response

200
application/json

Batch access check result

The response is of type object.