Skip to main content
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",
      "user": "user:[email protected]",
      "role": "can_read"
    }
  ]
}'
{
  "result": [
    {
      "allowed": true,
      "request": {
        "object": "a657df3b-17e2-5989-bc5f-13ddb7fdab41",
        "user": "user:[email protected]",
        "role": "can_read"
      },
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

syncId
string
required

Body

application/json
checks
object[]
required

Response

result
object[]
required