Teardown a vApp and associated virtual machines from the cloud environment. Delete the record of a deployment from vFabric Application Director.

Removes provisioning for the vApp and associated virtual machines and deletes them from the cloud environment. Provides task ID after the teardown process is complete.

The user account with the ROLE_DEPLOYER deployer role can access this API.

POST

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/deployment/DeploymentID/action/teardown/

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/deployment/1/action/teardown

The request body does not have an output for the teardown process.

{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Deployment teardown scheduled successfully.",
         "messageKey":"deployment.teardown.scheduled.msg",
         "property":null
      }
   ],
   "result":"3"
}

Deletes the details of a particular deployment from vFabric Application Director.

The user account with the ROLE_DEPLOYER deployer role can access this API.

DELETE

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/deployment/DeploymentID/action/delete

Example URI syntax:

https://ApplicationDirectorServerIP:8443/darwin/api/1.0/deployment/1/action/delete
{
   "errors":false,
   "messageList":[
      {
         "messageType":"INFO",
         "message":"Successfully deleted the record.",
         "messageKey":"delete.msg",
         "property":null
      }
   ]
}