# diagrid region group update

Update a region group's members

### Description

Update a region group by replacing its members. A region joining the group
must be empty, of the same type as the other members, and in no other group.

A region may be removed while group projects are still placed in it: those
placements are torn down without touching the project's data, and the group
reports the region as draining until the last one is gone.

```
diagrid region group update <group-id> [flags]
```

### Examples

```

  # Add a third region to the group
  diagrid region group update my-group --regions region-1,region-2,region-3

```

### Options

```
      --regions string   (Required) Comma-separated region IDs replacing the group's members
  -h, --help             help for update
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid region group](./group.md)	 - Manage region groups
