v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Documents

Add document permits

post/api/v1/documents/{identifier}/permissions

Path parameters

identifierstring required

Document identifier (either document ID or identifier slug)

Example:abc123

Document identifier (either document ID or identifier slug)

Request body

accessBoostboolean

Grant access boost

role'NO_ACCESS' | 'VIEWER' | 'EXPLORER' | 'EDITOR' | 'MANAGER' required

Role to grant

userGroupIdsstring[]

User group IDs to grant access to

userIdsstring[]

User membership IDs to grant access to

Response

Permissions added successfully

successboolean required

Whether the operation was successful

Example response

{
  "success": true
}