File resource

File/folder group and user permissions - Add/update group/user folder permissions

OVERVIEW


This API method adds or updates folder permissions for a group/user. This can only be used when the inheritance has been broken for the specific folder. Please use the change inheritance method for a folder to break the inheritance. 

Request URI

PUT  /api/3/folders/{folderid}/permissions

Request Body

The request body contains a user group permissions object 

Response 

The method returns a 200 OK http response if the request was successful with no response body otherwise an error object and error code are returned.

URI Parameters

Parameters

Value

Description

folderid

integer

The ID for the folder.

To get the folder id use following API get folder list (Updated in 4.1.3). The root folderid is required to use this API. 

To get the root folderid use following API get site list. The response of that API sitefolderid parameter will give you the root folderid of site.

 

Comments


11 Comments

Last Updated: Jun 09,2023