cURL
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>" } ] }
Check access for a list of users and objects
Paragon User Token. Add to the Authorization header of your requests.
Batch access check result
The response is of type object.
object
Was this page helpful?