drop-network-policy.md 1.1 KB


title: "DROP NETWORK POLICY" description: "DROP NETWORK POLICY removes an existing network policy from Materialize." menu: main:

parent: commands

DROP NETWORK POLICY removes an existing network policy from Materialize. Network policies are part of Materialize's framework for access control.

To alter the rules in a network policy, use the ALTER NETWORK POLICY command.

Syntax

{{< diagram "drop-network-policy.svg" >}}

Field Use
IF EXISTS Do not return an error if the specified network policy does not exist.
name The network policy you want to drop. For available network policies, see SHOW NETWORK POLICIES.

Privileges

The privileges required to execute this statement are:

{{< include-md file="shared-content/sql-command-privileges/drop-network-policy.md" >}}

Related pages