---
title: "ezgh iam groups update"
description: "Change a group's name or description, or replace its policies."
---

> 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 groups 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 groups update <group> [--name n] [--description d] [--policies p1,p2] [flags]
```

Change a group's name or description, or replace its policies. The change is sent with the ETag ezgh read: if someone changed the group in between, nothing is changed and ezgh says so; run it again. To change one member or policy, use add-members, remove-members, or `ezgh iam policies attach|detach --group`.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--description` | string |  | the new description |
| `--name` | string |  | the new name |
| `--policies` | strings, comma-separated or repeated |  | the policies, replacing all current ones; "" for none |

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

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