Last modified November 7, 2024
managePermissions
This function allows you to create/modify the Permissions Object of a specified user. (Default: Manage Global Permissions)
Parameter name | Type | Description | Possible Values | Example |
---|---|---|---|---|
username | String | Username of the acount you wish to change permissions. | username=acct001 |
|
permissions | List [] | The permissions Key/Value pair you will be updating. | For a list of all permissions indexes and possible values, please visit Permissions Object below. | permissions[0]=1&permissions[2]=2 |
Example Call JETAPI
jetbackup5api -F managePermissions -D "username={$USERNAME}&permissions[0]=1&permissions[2]=2"
success: 1
message: Permissions updated 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=managePermissions&username={$USERNAME}&permissions[0]=1&permissions[2]=2
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.