Delete Deployment

Using REST you can delete an application deployment. It is supported only when you are using deployment with TIBCO Enterprise Administrator mode.

Here is a generic cURL example that deletes an Archive.
curl -u <USER>:<PASSWORD> -X POST -H "Accept: application/json" -H "Content-Type: multipart/form-data" -v "<BROKER_URL>:<BROKER_PORT>/livecluster/rest/v1/sf/engines/<DAEMON_ID>/<ENGINE_INSTANCE>/archives" -F "archiveFile=@<ARCHIVE_FILE>" -F "COMMAND=editdeployment" -F "CDD=<CDD_FILE>"