- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-07-2020 12:04 PM
Can someone help with ideas on how to configure a VPN via API?
02-07-2020 01:01 PM
Hi, have you tried the following?
02-07-2020 01:06 PM
What exactly are you having troubles with? You can use the API-Browser available at https://<firewall-ip>/api to actually go through and figure out the xpath for what you want to modify; that along with the documentation that @emyl79 linked to should get you pointed in the right direction.
02-20-2020 01:31 PM
@BPry thank you for the pointers. Why is it that when you issue a command for config audit on running config and candidate config the versions are identical?
https://1.1.1.1/api/?type=config&action=get&xpath=/config/devices/entry\[@name='localhost.localdomain
'\]/network/ike/gateway/entry\[@name='gcp-creative-to-colo-api'\]/peer-address/ip/member\[@name='102.188.204.236'\]"
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!