Last modified October 31, 2024

deleteHook

This function allows you to delete the object given its Hook Object ID.
Parameters
Parameter name Type Description Possible Values Example
_id String REQUIRED The Hook ID   _id=5f890a19e55cf262863522f2

Example Call JETAPI

jetbackup5api -F deleteHook -D "_id={$HOOK_ID}"
success: 1
message: Hook Deleted 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=deleteHook&_id={$HOOK_ID}