Last modified November 7, 2024

updatePlugin

This function manually updates an installed plugin.
Parameter name Type Description Possible values Example
_id String REQUIRED The Plugin ID.   _id=608b1c5f160247613b11dc02

Returns

Parameter name Type Description Possible values Example
items List [] Returns a list of data for the Plugin Object. To view the parameters returned by this function, click on Plugin Item Object.  

Example Call JETAPI

jetbackup5api -F updatePlugin -D "_id={$PLUGIN_ID}"
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:
  _id: 650c784eb4dc9808390ea892
  code: Syslog
  name: Syslog
  description: Syslog integration for JetBackup
  icon:
  version: 1.1.0
  type: notification
  author: JetApps
  permissions: 1
  experimental:
  repo: 6507537fa8f98c6ea7022b52
  options:
  repo_name: JetApps Repository
  disabled: 1
  visible:
  available_package:

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=updatePlugin&_id={$PLUGIN_ID}