File resource

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

OVERVIEW


This API method adds or updates file permissions for a group/user.

Please note the permissions can only be added to the existing permissions inherited from the parent folder and does not allow the removal of the inherited permissions from the parent folder in which the file exists. 

Request URI

PUT /api/3/files/{fileid}/permissions

Request Body

The request body contains a user group file permissions object 

Response 

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

 

URI Parameters

Parameters

Value

Description

fileid

integer The ID for the file.

To get the file id, use following API  get files list

 

 

Comments


0 Comments

Last Updated: Jun 09,2023