Skip to main content
jprouty
New Member
October 30, 2024
Solved

100D API support

  • October 30, 2024
  • 2 replies
  • 1321 views

I have a forgate 100D

I am trying to use the API to create firewall addresses and update a policy

I am on firmware 6.2.16 the latest for the 100D

I have tried

http://<IP>/api/v2/cmdb/firewall/address?access_token=<KEY>

 

I get a 200 result but it never adds the address to the firewall

 

body example

{
'name': "test_IP_JP",
'subnet': "1.1.1.1/32"
''associated-interface': "Untrust"
}

 

but I get back a GET listing all the addresses

from the api debug It looks right

 

any suggestions?

 

 

 

 

 

 

Best answer by jprouty

I found my error the https needs to be on and it was redirected from 443 to another port

this caused my APIs to fail

2 replies

Stephen_G
Moderator
Moderator
November 3, 2024

Hello,

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.

 

Thanks,

Stephen_G - Fortinet Community Team
Stephen_G
Moderator
Moderator
November 5, 2024

Hello,

 

We are still looking for someone to help you.

We will come back to you ASAP.

Stephen_G - Fortinet Community Team
jprouty
jproutyAuthorAnswer
New Member
November 5, 2024

I found my error the https needs to be on and it was redirected from 443 to another port

this caused my APIs to fail

Stephen_G
Moderator
Moderator
November 5, 2024

Glad to hear you got it figured out! Well done, and thanks for sharing the solution. I hope this helps someone else too.

Stephen_G - Fortinet Community Team