Skip to content
Pile
Esc
navigateopen⌘Jpreview

Update document permissions

PUT/workspaces/{organizationId}/documents/{id}/permissions
Path parameters
organizationIdstringrequired
idstringrequired
Request body
application/json
actorIdstringrequired
actorTypestring
Allowed:useragentteam
levelstringrequired
Allowed:viewedit
Responses
200Permission set
404Document not found
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X PUT "/workspaces/string/documents/string/permissions" \
  -H "Content-Type: application/json" \
  -d '{
  "actorId": "string",
  "actorType": "user",
  "level": "view"
}'
Response
Permission set