---
title: "Destroy a Droplet and All of its Associated Resources (Dangerous)"
method: DELETE
path: "/v2/droplets/{droplet_id}/destroy_with_associated_resources/dangerous"
tags: ["DigitalOcean-public.v2-new_Droplets"]
---

# Destroy a Droplet and All of its Associated Resources (Dangerous)

`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.

## Path parameters

- `droplet_id` integer, required

## Headers

- `X-Dangerous` boolean, required

## Response `202`

This does not indicate the success or failure of any operation, just that the request has been accepted for processing.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
