# coder groups edit

Edit a user group

## Usage

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

## Options

### -n, --name

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

Update the group name.

### -u, --avatar-url

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

Update the group avatar.

### --display-name

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

Optional human friendly name for the group.

### -a, --add-users

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

Add users to the group. Accepts emails or IDs.

### -r, --rm-users

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

Remove users to the group. Accepts emails or IDs.

### -O, --org

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

Select which organization (uuid or name) to use.
