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. On the Virtual Cloud Networks list page, select the VCN that contains the security list you want to work with. If you need help finding the list page or the VCN, see Listing VCNs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • On the Security tab, go to the Security Lists section.
      • Under Resources, select Security Lists.
    3. From the Actions menu (three dots) for the security list, select Terminate.
    4. When prompted, confirm the deletion.
  • 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.