Skip to main content
jprouty
New Member
Oct 30, 2024 3:24 PM UTC
Solved

100D API support

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?

 

 

 

 

 

 

jprouty
jproutyAnswer
New Member
Nov 5, 2024 4:37 PM UTC

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

4 replies

Stephen_G
Staff & Editor
Staff & Editor
Nov 3, 2024 4:13 PM UTC

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
Staff & Editor
Staff & Editor
Nov 5, 2024 4:32 PM UTC

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
Nov 5, 2024 4:37 PM UTC

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
Staff & Editor
Staff & Editor
Nov 5, 2024 4:38 PM UTC

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
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT