# coder groups edit

Edit a user group

## Usage [#usage]

```console
coder groups edit [flags] <name>
```

## Options [#options]

### -n, --name [#-n---name]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Update the group name.

### -u, --avatar-url [#-u---avatar-url]

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Update the group avatar.

### --display-name [#--display-name]

|             |                                    |
| ----------- | ---------------------------------- |
| Type        | <code>string</code>                |
| Environment | <code>$CODER\_DISPLAY\_NAME</code> |

Optional human friendly name for the group.

### -a, --add-users [#-a---add-users]

|      |                           |
| ---- | ------------------------- |
| Type | <code>string-array</code> |

Add users to the group. Accepts emails or IDs.

### -r, --rm-users [#-r---rm-users]

|      |                           |
| ---- | ------------------------- |
| Type | <code>string-array</code> |

Remove users to the group. Accepts emails or IDs.

### -O, --org [#-o---org]

|             |                                   |
| ----------- | --------------------------------- |
| Type        | <code>string</code>               |
| Environment | <code>$CODER\_ORGANIZATION</code> |

Select which organization (uuid or name) to use.
