v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
Folder permissions

Grant folder permissions

Grant folder permissions to users or groups

post/v1/folders/{folderId}/permissions

Path parameters

folderIdstring uuid required

The UUID of the folder. Use the List folders endpoint to retrieve folder IDs.

Request body

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

The content role to assign to the specified users or user groups.

accessBoostboolean

If true, AccessBoost is enabled for the folder.

userIdsstring[]

The list of user IDs to grant permissions to. Use the List users or List embed users endpoints to retrieve user IDs.

Either userIds or userGroupIds is required.

userGroupIdsstring[]

The list of user group IDs to grant permissions to. Use the List user groups endpoint to retrieve user group IDs.

Either userIds or userGroupIds is required.

Response

Permissions granted successfully

successboolean

Example response

{
  "success": true
}