---
title: "Delete target group"
sidebar_label: "Delete target group"
sidebar_position: 6
description: "How to delete a target group"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import {TabItemLabel} from '@selectel/docux/components'
import TrashIcon from '@selectel/docux/icons/trash'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Delete target group

If a target group is used in an HTTP policy, the policy will be deleted along with the target group. The servers in the target group will not be deleted.

<Tabs queryString="delete-target-group">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [control panel](https://my.selectel.ru/vpc/default/lbaas/load-balancers/), on the top menu, click **Products** and select **Cloud Servers**.
    2. Go to the **Load Balancers** section → the **Target Groups \*\*\*\* tab**.
    3. In the group card, click <TrashIcon />.
    4. Enter the target group name.
    5. Click **Delete**.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).
    2. Delete the target group:

       ```bash
       openstack loadbalancer pool delete <pool>
       ```

       Specify `<pool>` — the ID or name of the target group; you can view it using the `openstack loadbalancer pool list`.
  </TabItem>
</Tabs>

<Formbricks />
