# Delete Rules

You can delete the rules associated with an NSG. For example, you can delete rules defined for decommissioned resources or during security protocol updates. Understanding the implications of deleting rules to prevent unintended disruptions or vulnerabilities is mandatory.

To delete a rule, follow these steps:

1\. In the **DCD**, go to **Menu** > **Security** > **Network Security Groups**.

2\. Select the **NAME** of the respective security group or click **View & Edit**.

![Select the NSG that contains the rules](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-6e903029ff635a6a2d5ae67fbbdecf0b859fea98%2Fdelete-nsg-rules.png?alt=media)

3\. Select the checkbox(es) in the **View & Edit Group** window and select:

* **Delete** to delete a rule.
* **Delete Rules** to delete a single or multiple rules at once.

![Delete options](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-e08aa67eaa15a1906a291e3fdc3f00d1c0f09f6f%2Fdelete-nsg-rules-set.png?alt=media)

4\. Select **Delete** in the **Delete firewall rule(s)** pop-window to confirm deletion.

{% hint style="success" %}
**Result:** The selected rules are queued for deletion and eventually deleted.
{% endhint %}
