Grant folder permissions
Grant folder permissions to users or groups
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The UUID of the folder. Use the List folders endpoint to retrieve folder IDs.
Body
The content role to assign to the specified users or user groups. Must be one of:
NO_ACCESS- No accessVIEWER- View folder contentsEDITOR- Edit and add content to the folderMANAGER- Edit, add content, and manage folder permissionsOWNER- Manager permissions and receives access requests. The document must have at least one owner at all times.
NO_ACCESS, VIEWER, EDITOR, MANAGER, OWNER "EDITOR"
If true, AccessBoost is enabled for the folder. Setting this to false is always allowed. Setting this to true with a user-scoped API key requires that the organization's Non-administrators can enable AccessBoost on content setting is enabled and that the user has permission to enable AccessBoost, or the request returns a 403 error. Organization-scoped API keys are not subject to this check.
false
The list of user IDs to assign permissions to. Use the List users and List embed users endpoints to retrieve user IDs. Either userIds or userGroupIds is required.
The list of user group IDs to assign permissions to. Use the List user groups endpoint to retrieve user group IDs. Either userIds or userGroupIds is required.
Response
Permissions granted successfully
true

