Deleting a Network Security Group
On Compute Cloud@Customer, you can delete Network Security Groups (NSGs) as long as the group doesn't contain any VNICs.
-
In the Compute Cloud@Customer Console navigation menu, select Networking, then select Virtual Cloud Networks.
- At the top of the page, select the compartment that contains the VCN in which you want to create a subnet.
-
Select the name of the VCN for which you want to delete an NSG.
The VCN details page is displayed.
-
Under Resources, select Network Security Groups.
-
Select the Actions menu (
) for the NSG that you want to delete, then select Delete.
-
Confirm the deletion.
-
Use the oci network nsg delete command and required parameters to delete the specified network security group.
oci network nsg delete [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the DeleteNetworkSecurityGroup operation to delete the specified network security group.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.