Skip to main content
alansims
New Member
May 14, 2025 7:56 AM UTC
Question

Firewall Policy API Issue

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 9:14 AM UTC

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.

Translate
Emirjon
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024