manageFilePermission

Description

With this function, you can create/manage restore file permission.

Parameters

Parameter name Type Description Possible values Example
_id String Required on action modify
The ID of the file permissions.
  59f1db26f7ec181ba44138df
action String Required
The action you want to perform.
  • create
  • modify
 
regex String Required on action create
The pattern of the file/folder that you want the permissions apply to.
  ^public_html$
owner String The restored file ownership.    
group String The restored file group.   nobody
permissions String Required on action create
The restored file permissions.
  0750

Returns

This API call returns file permission object.
To view the parameters that returned click on File Permissions Object

Example