delete https://api.compose.io/2016-07/deployments/
Deprovision a deployment.
Will respond with information about the deprovisioning recipe that is being run.
A Recipe is a process, or processes, which performs a task; in this case, that task is deprovisioning. When the API returns a recipe, it gives the id and status information about that process and its current status. The recipe runs asynchronously.
By querying the recipe endpoint - /2016-07/recipes/:id with the returned id, you can get updates on the status of the task being performed. Completetion is denoted by the status
field being returned as completed
.