Last modified October 31, 2024

getSettingsPrivacy

This function prints the objects data given its Settings Privacy Object.
Returns
Parameter name Type Description
user_agreement String Custom User Agreement that will display on end user panel for approval.
privacy_policy String Custom Privacy Policy that will display on end user panel for approval.
encryption_selection Boolean Value to determine the user ability to select their Encryption Status.
forgotten_ttl Integer Value to determine the amount of days ALL account data will be kept after termination.

Example Call JETAPI

jetbackup5api -F getSettingsPrivacy
success: 1
message:
system:
  version: 5.3.3
  version_panel: 5.3.3
  tier: EDGE
  type: cPanel
  retry_ms: 0
  disableui:
  dr:
  agreement_panel:
  agreement:
  licenseIssue:
data:
  user_agreement:
  privacy_policy:
  encryption_selection: 0
  forgotten_ttl: 0

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getSettingsPrivacy