---
title: "ezgh registry images delete"
description: "Delete an image and the tags pointing at it."
---

> 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 images 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 images delete <repository> <digest> [--yes] [flags]
```

Delete an image by digest, with every tag that points at it. Pulls of it fail from then on. Asks first, unless `--yes`.

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

## Examples

```sh
ezgh registry images delete team-a/api sha256:3f1c7e2a9b4d6e8f0a1b2c3d4e5f60718293a4b5c6d7e8f9a0b1c2d3e4f5a6b7 --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-images-delete/index.mdx
