Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
alansims
New Contributor

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 1
ebilcari
Staff
Staff

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
If you have found a solution, please like and accept it to make it easily accessible for others.
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors