Skip to main content
POST
/
api
/
permissions
/
{syncId}
/
list-objects
List Objects
curl --request POST \
  --url https://sync.useparagon.com/api/permissions/{syncId}/list-objects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "objectType": "file",
  "user": "[email protected]",
  "role": "can_read"
}'
{
  "objects": [
    "a657df3b-17e2-5989-bc5f-13ddb7fdab41"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

syncId
string
required

Body

application/json
objectType
enum<string>
required
Available options:
file,
folder
user
string
required
Example:
role
enum<string>
required
Available options:
can_read,
can_write,
is_owner

Response

objects
string[]