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.
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.