v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-1759238438.1 KB
Sharings

Set general access

Set general access level for a document.

put/v1beta/documents/{document_id}/access

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Document ID.

Request body

general_access_level'restricted' | 'organization' | 'anyone_with_link' required

Response

Success

document_idstring

Document ID.

general_access_level'restricted' | 'organization' | 'anyone_with_link'