> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
> Use this file to discover all available pages before exploring further.

> Reference and syntax for the DROP NETWORK POLICY command.

# DROP NETWORK POLICY

Deletes a network policy.

For more information, see [Network policies](/guides/security/network-policies).

## Syntax

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
DROP NETWORK POLICY <network_policy_name> [ RESTRICT | CASCADE ]
```

## Parameters

| Parameter               | Description                                                                                                                                                                                                                                                                                           |
| :---------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `<network_policy_name>` | The name of the network policy to delete.                                                                                                                                                                                                                                                             |
| `RESTRICT` or `CASCADE` | An optional parameter to specify deletion mode.<br />RESTRICT mode prevents dropping the network policy if there is any login, service account or organization linked. RESTRICT mode is used by default.<br />CASCADE mode automatically drops the network policy and all its links to other objects. |

## Example

The following command will delete "my\_network\_policy".

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
DROP NETWORK POLICY my_network_policy [ RESTRICT | CASCADE ]
```
