---
title: "ezgh compute volumes update"
description: "Rename or retag a volume, or set its deletion protection."
---

> 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 compute volumes update

{/* 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 compute volumes update <volume> [--name n] [--deletion-protection=true|false] [--tag k=v…] [flags]
```

Change a volume's name, tags (`--tag` replaces them; `--tag` "" clears them) or deletion protection. `ezgh compute volumes modify` changes its size and performance.

Part of [`ezgh compute volumes`](/cli/reference/compute-volumes).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--deletion-protection` | boolean |  | refuse deleting it (true or false) |
| `--name` | string |  | the new name |
| `--tag` | string, repeatable |  | a tag, key=value (repeat; replaces the tags; `--tag` "" clears them) |

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

Source: https://docs.ezghcloud.com/cli/reference/compute-volumes-update/index.mdx
