Release Note
Validated on 29 Apr 2020 • Last edited on 24 Jan 2025
It is now possible to destroy snapshots, volumes, and volume snapshots associated with a Droplet while destroying the Droplet itself in a single request. A number of new related endpoints are now available:
- To list the resources that can be destroyed along with the Droplet, send a GET request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources
endpoint. - To destroy a Droplet along and a sub-set of its associated resources, send a DELETE request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/selective
endpoint. - To destroy a Droplet along with all of its associated resources, send a DELETE request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/dangerous
endpoint. - To check on the status of a request to destroy a Droplet with its associated resources, send a GET request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/status
endpoint. - If the status reported any errors, the destroy request can be retried by sending a POST request to the
/v2/droplets/$DROPLET_ID/destroy_with_associated_resources/retry
endpoint.