# delete

The cldkctl registry artifact tag delete command removes a specific tag from an artifact in the container registry. This operation deletes the tag reference but does not delete the artifact itself. It is useful for cleaning up outdated or incorrect tags without affecting the actual artifact data.

## Usage

```
cldkctl registry artifact tag delete [tag] [flags]
```

## Aliases

```
delete, del, remove, rm
```

## Steps

Follow the steps below to run and view the result of this command:

1. Ensure that you are logged in. Refer to the Registry Login section.
2. Identify the Artifact ID and Tag you want to delete. You can find these details in the Registry Artifact Tag List section.
3. Run the following command in your terminal:

```
cldkctl --registry [registry name] registry artifact tag delete [tag] --artifact [artifact ID]
```

4. Replace `[registry name]` with the target registry, \[tag] with the specific tag to be deleted, and `[artifact id]` with the unique ID of the artifact.
5. Once successful, the terminal displays **"✓ Artifact tag deleted".**

<figure><img src="/files/DNbQcHJiXUtNPb1UoGSa" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag       | Description                                        |
| ---------- | -------------------------------------------------- |
| -h, --help | Help for the registry artifact tag delete command. |

## <br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-registry/artifact/tag/delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
