Last modified October 31, 2024

manageSettingsPrivacy

This function allows you to create/modify the Settings Privacy Object.
Parameters
Parameter name Type Description Possible Values Example
user_agreement String Custom User Agreement that will display on end user panel for approval.   user_agreement=Are you sure
privacy_policy String Custom Privacy Policy that will display on end user panel for approval.   privacy_policy=Do you agree
encryption_selection Boolean Value to determine the user ability to select their Encryption Status.
  • False : 0 (default)
  • True : 1
encryption_selection=1
forgotten_ttl Integer Value to determine the amount of days ALL account data will be kept after termination. Positive integers. (Default: 0 - Disabled) forgotten_ttl=30

Example Call JETAPI

jetbackup5api -F manageSettingsPrivacy -D "user_agreement=Are you sure&privacy_policy=Do you agree&encryption_selection=1&forgotten_ttl=30"
success: 1
message: Privacy & Security Settings Updated Successfully.
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel: 1
  agreement:
  licenseIssue:
data:
  user_agreement: Are you sure
  privacy_policy: Do you agree
  encryption_selection: 1
  forgotten_ttl: 30

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageSettingsPrivacy&user_agreement=Are you sure&privacy_policy=Do you agree&encryption_selection=1&forgotten_ttl=30