> [!NOTE]
> **Note:** NetApp Volumes offers block storage feature with iSCSI protocol for the Flex Unified service level.

This page describes how to manage your
[host groups](https://docs.cloud.google.com/netapp/volumes/docs/configure-and-use/host-groups/overview#about_host_groups).

## Edit a host group

This section provides details about which host group settings are editable and
instructions for how to edit a host group.

### Editable settings

After a host group is created, you can modify its settings.

**Host details**: you can add or remove host initiators to the host groups after
the host group creation. However, a host group must always have at least one
host initiator; the initiator list can't be empty.

### Edit a host group

Use the following instructions to edit a host group using the Google Cloud console
or Google Cloud CLI.

### Console

1. Go to the **NetApp Volumes** page in the Google Cloud console.

   [Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)
2. Click **Host groups** from the **External connections** menu.

3. Click **Show more**
   icon on the host group and click **Edit**.

4. In the **Host details** section, you can add or remove the host initiator
   information.

5. Click **Save** to record your changes.

### gcloud

Edit a host group:

```bash
gcloud netapp host-groups update HOST_GROUP_NAME \
  --location=LOCATION \
  --hosts=IQN1, IQN2
```

Replace the following information:

- `HOST_GROUP_NAME`: the name for the host group.

- `LOCATION`: the Google Cloud location (region) where
  the host group was created.

- `IQN1, IQN2`: a comma-separated list of host
  identifiers (IQNs) to include in the host group.

## Delete a host group

This section provides details about how to delete a host group.

Use the following instructions to delete a host group using the Google Cloud console
or Google Cloud CLI.

You can't delete a host group if volumes are attached to it. Before deleting the
host group, make sure that the host group attachment has been removed from the
volumes.

### Console

1. Go to the **NetApp Volumes** page in the Google Cloud console.

   [Go to NetApp Volumes](https://console.cloud.google.com/netapp/volumes)
2. Click **Host groups** from the **External connections** menu.

3. Click **Show more**
   icon on the host group and click **Delete**.

4. A confirmation dialog with information is displayed. Read through the
   warnings.

5. Enter the name of the host group and click **Delete**.

### gcloud

Delete a host group:

```bash
gcloud netapp host-groups delete HOST_GROUP_NAME \
  --location=LOCATION
```

Replace the following information:

- `HOST_GROUP_NAME`: the name for the host group.

- `LOCATION`: the Google Cloud location (region) where
  the host group was created.

## What's next

[Manage customer-managed encryption key policies](https://docs.cloud.google.com/netapp/volumes/docs/configure-and-use/cmek/cmek-overview).