DELETE /v2/droplets/{droplet_id}/destroy_with_associated_resources/dangerous

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. The headers of this request must include an X-Dangerous key set to true. To preview which resources will be destroyed, first query the Droplet's associated resources. This operation can not be reverse and should be used with caution.

A successful response will include a 202 response code and no content. Use the status endpoint to check on the success or failure of the destruction of the individual resources.

Servers

Path parameters

Name Type Required Description
droplet_id Integer Yes

A unique identifier for a Droplet instance.

Request headers

Name Type Required Description
X-Dangerous Boolean Yes

Acknowledge this action will destroy the Droplet and all associated resources and can not be reversed.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.