Skip to main content
luis_abreu
Explorer
September 2, 2025
Solved

FortiOS API: update Portal VPN settings

  • September 2, 2025
  • 1 reply
  • 278 views

Hello.

 

I'd like to add a new entry for the authentication/portal mapping section (VPN->SSL-VPN Settings). Do I need to get the current ssl settings before adding a new entry? Or can I just send a PUT request where the authentication/portal mapping section has only one item for the entry I want to add?

Thanks

Best answer by luis_abreu

Hello again.

 

Just answering my previous question to confirm that the PUT call does replace the complete VPN settings which are applied (so, if you need to add a new entry to the section, you should perform a GET to obtain the current settings object and then add the new entries to the desired section).

1 reply

luis_abreu
luis_abreuAuthorAnswer
Explorer
September 3, 2025

Hello again.

 

Just answering my previous question to confirm that the PUT call does replace the complete VPN settings which are applied (so, if you need to add a new entry to the section, you should perform a GET to obtain the current settings object and then add the new entries to the desired section).