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

Authorizations

Authorization
string
header
required

Path Parameters

syncId
string
required

Body

application/json
object
string
required
Example:
role
enum<string>
required
Available options:
can_read,
can_write,
is_owner

Response

users
string[]