Update a Folder's Permissions

put

{protocol}//{host}:{port}{basePath}/ic/api/fileserver/v1/filesystem/directories/{guid}/permissions

Update a specified folder's permissions

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
directoryPermissionDO
Root Schema : schema
Type: object
Describes configured permissions for given directory
Show Source
Nested Schema : permissions
Type: array
A list of permissions assigned for given directory to different users/groups.
Show Source
Nested Schema : permissions
Type: object
Configured permission for given directory for given user/group.
Show Source
Nested Schema : rights
Type: array
Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.
Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
Show Source
  • Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
    Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
Describes configured permissions for given directory
Show Source
Nested Schema : permissions
Type: array
A list of permissions assigned for given directory to different users/groups.
Show Source
Nested Schema : permissions
Type: object
Configured permission for given directory for given user/group.
Show Source
Nested Schema : rights
Type: array
Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.
Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
Show Source
  • Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
    Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.

401 Response

Unauthorized

404 Response

Service not found

500 Response

Internal Server Error
Back to Top