Last modified October 31, 2024

manageSettingsSecurity

This function allows you to create/modify the Settings Security Object.
Parameters
Parameter name Type Description Possible Values Example
_id String Plugin ID of the Security Plugin Object   _id=6509f689ccf13c8ba0026112
restore Boolean Boolean flag to determine whether or not to Restore the most recent "clean" backup after detection.
  • 0
  • 1
restore=1
lock boolean Boolean flag to determine whether or not to Lock the most recent "clean"
  • 0
  • 1
'lock=1'

Example Call JETAPI

jetbackup5api -F manageSettingsSecurity -D "plugin={$SECURITY_PLUGIN_ID}&restore=1&lock=1"
success: 1 message: 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: agreement: licenseIssue: data: plugin: 6509f689ccf13c8ba0026112 restore: 1 lock: 1

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=manageSettingsSecurity&plugin={$SECURITY_PLUGIN_ID}&restore=1&lock=1