---
title: "Delete a load balancer rule"
sidebar_label: "Delete rule"
sidebar_position: 6
description: "How to delete a load balancer rule"
---

import Formbricks from '@theme/MDXComponents/Formbricks'

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import {TabItemLabel} from '@selectel/docux/components'

# Delete a load balancer rule

:::warning

When you delete a rule, the load balancer stops accepting the traffic that was processed by this rule.

:::

When deleting a rule, all HTTP policies created within it are deleted. The target groups specified in the rule are not deleted.

<Tabs queryString="delete-rule">
  <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 → **Load Balancers** tab.
    3. Open the load balancer page.
    4. In the **Rules** block, in the <MoreVerticalIcon /> rule menu, select **Delete rule**.
    5. Enter the rule name to confirm deletion.
    6. Click **Delete**.
  </TabItem>

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

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

       ```bash
       openstack loadbalancer listener delete <listener>
       ```

       Specify `<listener>` — the listener ID or name. You can view the list using the `openstack loadbalancer listener list`.
  </TabItem>
</Tabs>

<Formbricks />
