Delete a Firewall Policy
You can delete a firewall policy from Oracle Cloud Infrastructure.
Important
You can't delete a firewall policy if it's associated with a firewall. To delete a policy that's associated with a firewall, first associate the firewall with a different policy, and then delete the policy.
- Use the network-firewall network-firewall-policy delete command and required parameters to delete a firewall.
oci network-firewall network-firewall-policy delete --network-firewall-policy-id network_firewall_policy_id [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteNetworkFirewallPolicy operation to delete a policy.