FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Delete Policy

AI-generated

Summary

Delete a firewall policy

Inputs

  • domain (required) — Domain of FortiManager API to operate on
  • adom (required) — Administrative Domain name
  • packageName (required) — Name of the policy package
  • policyId (required) — ID of the policy to delete

Output shape

no body — success/failure only

Returns nothing on success; failures may return an error object

Examples

Example 1: Delete a specific firewall policy by domain, ADOM, package, and ID

domain=pm, adom=root, packageName=MyPackage, policyId=123

Discussion