Here's how you delete a release bundle.
dsServer.deleteReleaseBundle name: "example-release-bundle", version: "1", // Optional distribution rules distRules: rules, // Optional country codes. Cannot be used together with 'distRules' countryCodes: ["001", "002"] // Optional site name. Cannot be used together with 'distRules' siteName: "my-site", // Optional city name. Cannot be used together with 'distRules' cityName: "New York", // Optional. If set to true, the response will be returned only after the deletion is completed. sync: true, // Optional. Set to true to disable communication with JFrog Distribution. dryRun: true