Skip to main content
alansims
New Member
May 14, 2025
Question

Firewall Policy API Issue

  • May 14, 2025
  • 1 reply
  • 472 views

Hi there,

I am facing some issues with the firewall api after a recent update.

The previous developer handling this was using this endpoint in python to check the firewall policy: 

`curl(GET, {Content-type: application/json, Authorization: api_key},  https://firewall_ip/api/v2/cmdb/firewall/policy/id`). 

 

Can anyone kindly share the endpoint to switch on/off a firewall policy?

1 reply

ebilcari
Staff
Staff
May 14, 2025

Can you tell the old and the new firmware version of the FGT?

If not a member yet, I would suggest you to join the Fortinet Developer Network.

Emirjon
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!