Last modified November 7, 2024

resetPermissions

This function resets the permissions of a specific user. (Default: Reset Global Permissions)
Parameters
Parameter name Type Description Possible Values Example
username String Username of the acount you wish to reset permissions.   username=acct001

Example Call JETAPI

jetbackup5api -F resetPermissions -D "username={$USERNAME}"
success: 1
message: Permissions reset successfully
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=resetPermissions&username={$USERNAME}