cURL
curl --request POST \ --url https://sync.useparagon.com/api/permissions/{sync_id}/check \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "object": "<string>", "user": "<string>", "role": "<string>" }'
{ "has_access": true }
Check if a user has a specific role for an object
Paragon User Token. Add to the Authorization header of your requests.
ID of the Sync
Access check result
The response is of type object.
object
Was this page helpful?