Deleting a Security List

Delete a security list in a Virtual Cloud Network (VCN).

To delete a security list, it must not be associated with a subnet. You can't delete a VCN's default security list.

    1. Open the navigation menu, select Networking, and then select Virtual cloud networks.
    2. Click the name of the VCN you're interested in.
    3. Under Resources, click Security Lists.
    4. For the security list you want to delete, click the Actions menu (Actions Menu) to the right side of it, and then select Terminate.
    5. Confirm when prompted.
  • Use the network security-list delete command and required parameters to delete a security list:

    oci network security-list delete --security-list-id securitylist-ocid ... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Run the DeleteSecurityList operation to delete a security list.