---
title: "Delete a Snapshot"
method: DELETE
path: "/v2/snapshots/{snapshot_id}"
tags: ["DigitalOcean-public.v2-new_Snapshots"]
---

# Delete a Snapshot

`DELETE /v2/snapshots/{snapshot_id}`

Both Droplet and volume snapshots are managed through the `/v2/snapshots/`
endpoint. To delete a snapshot, send a DELETE request to
`/v2/snapshots/$SNAPSHOT_ID`.

A status of 204 will be given. This indicates that the request was processed
successfully, but that no response body is needed.

## Path parameters

- `snapshot_id` union, required
  - integer — The ID of a Droplet snapshot.
  - string — The ID of a volume snapshot.

## Response `204`

The action was successful and the response body is empty.

## Other responses

- `400` — Bad Request
- `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)
