Deletes a network policy and removes all associated CNPs from the cluster.
Required permission
Account > Networking > NetworkPolicies > Delete
Path parameters
networkPolicyId
string requiredID of the network policy
API
CLI
JS Client
DELETE /v1/network-policies/{networkPolicyId}
DELETE /v1/teams/{teamId}/network-policies/{networkPolicyId}
Example response
200 OK
success