Support
Log In
Documentpermissions

Create document permission

Creates a new permission assignment for a user or group within the document, granting them specific roles and access levels. Can also be used to request access to the document when the user doesn't have editor or workspace manager permissions.

POST/organizations/{organizationName}/workspaces/{workspaceName}/documents/{documentPath}/permissions

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationName*string

The unique identifier of the organization

Match^[a-zA-Z0-9_ -]+$
workspaceName*string

The unique identifier of the workspace

Match^(?!.*\*)(?!.*[/]).{1,63}$
documentPath*string

The path to the document within the workspace

Match^(?!.*\.\.)[a-zA-Z0-9_/. \-&:,'+?!()$^–—]+$
Lengthlength <= 255

Query Parameters

requestPermission?boolean

Indicates that the user is requesting access to the resource

Defaultfalse

Request Body

application/json

Represents a permission assignment for a user or group within a document

Response Body

application/json

application/json

application/json

application/json

application/json