Last modified November 7, 2024

deleteDestinations

This function deletes a Destination given the Destination ID.
Parameter name Type Description Possible values Example
_id String Required The ID of the destination.   _id=5f7bdce1ae2dfb28835cb4e2

Doesn’t return any data.

Example Call JETAPI

jetbackup5api -F deleteDestination -D "_id={$DESTINATION_ID}"
success: 1
message: Destination 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=deleteDestination&_id={$DESTINATION_ID}