WARNING: JetBackup 4 is set to reach its End-of-Life (EOL) on July 1st, 2024. For More Information, please visit: JetBackup 4 EOL Announcement.
NOTICE: JetBackup 5 is now available in the Stable Tier. For more information, please visit our Jetbackup 5 Documentation.

managePermissions

Description

With this function, you can manage permissions.

Parameters

Parameter name Value Description Possible values Example
section String Required
The section that you want to reset the permissions in.
  • whm
  • cpnel
 
username String The user that you want to set specific permissions.    
permissions[] List
List of Boolean.
permissions[permissionKey]=value
To view the possible values click on WHM Permissions Object/cPanel Permissions Object permissions[0]=1&permissions[1]=0

Returns

Doesn't return any data.

Example