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, click Networking, then click Virtual Cloud Networks.
- At the top of the page, select the compartment that contains the VCN in which you want to create a subnet.
-
Click the name of the VCN for which you want to delete an NSG.
The VCN details page is displayed.
-
Under Resources, click Network Security Groups.
-
Click the Actions menu (
) for the NSG that you want to delete, then click 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.