delete_dfw_policy
Deletes a DFW security policy. Remove active rules first to avoid refusal.
Instructions
[WRITE] Delete a DFW security policy.
Returns {"status": "deleted", "message": ...}, else {"error", "hint"}. Refuses if the policy still holds active rules: list them with list_dfw_rules and clear each with delete_dfw_rule first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional NSX Manager target from config. | |
| policy_id | Yes | ID of the policy to delete. |