---
title: "ezgh registry repositories delete"
description: "Delete a repository and its images."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh registry repositories delete

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh registry repositories delete <repository> [--yes] [flags]
```

Delete a repository, given by ID or name, with every image and tag in it. Its name is free again at once, and its storage is reclaimed in the background. Asks first, unless `--yes`.

Part of [`ezgh registry repositories`](/cli/reference/registry-repositories).

## Examples

```sh
ezgh registry repositories delete team-a/api --yes
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/registry-repositories-delete/index.mdx
