---
title: "[Public Preview] Delete Container Registry By Name"
method: DELETE
path: "/v2/registries/{registry_name}"
tags: ["DigitalOcean-public.v2-new_Container Registries"]
---

# [Public Preview] Delete Container Registry By Name

`DELETE /v2/registries/{registry_name}`

To delete your container registry, destroying all container image data stored in it, send a DELETE request to `/v2/registries/{registry_name}`.

## Path parameters

- `registry_name` string, required

## Response `204`

The action was successful and the response body is empty.

## 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/revisions/cb3bf9b21459/schema)
