---
title: "ezgh iam policies update"
description: "Change a custom policy's name, description or document."
---

> 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 iam policies 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 iam policies update <policy> [--name n] [--description d] [--document @policy.json] [flags]
```

Change a custom policy's name, description or document. The change is sent with the ETag ezgh read: if someone changed the policy in between, nothing is changed and ezgh says so; run it again.

Part of [`ezgh iam policies`](/cli/reference/iam-policies).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | the new description |
| `--document` | string |  | the new document: @file.json, - for stdin, or the JSON |
| `--name` | string |  | the new name |

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

Source: https://docs.ezghcloud.com/cli/reference/iam-policies-update/index.mdx
