> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-registry/label/update.md).

# update

The cldkctl registry label update command updates an existing label in the container registry. This command allows you to modify label attributes such as the name, description, or color. It is useful when you want to adjust label details without deleting and recreating them.

## Usage

```
cldkctl registry label update [label name] [flags]
```

## 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 label name of the label you want to update. You can find it in the Registry Label List section.
3. Run the following command in your terminal:

```
cldkctl --registry [registry name] registry label update [label name] [flags]
```

4. Replace \[registry name] with the target registry, \[label name] with the label you want to modify, and \[flags] with one or more fields to update, such as --description, --name, or --color.
5. Once successful, the terminal displays "✓ Registry label updated".

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

## Flags

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

| Flag                     | Description                                 |
| ------------------------ | ------------------------------------------- |
| -c, --color string       | Hex color code for the label.               |
| -d, --description string | New label description.                      |
| -h, --help               | Help for the registry label update command. |
| -n, --name string        | New label name.                             |
