VPN Policy via API

Hi,

I am looking to configure my Mango via the API. I would like to be able to add VPN Policies, has anyone had any experience with this that they could share?

I have looked at this link but the docs are very brief.
https://dev.gl-inet.com/api/#api-Policy-PostPolicySet

Thanks,
Luke

Although I do think it is terrible that the docs don’t outline the parameters in any detail at all, if anyone finds this thread then know that the best way to find api params is by using the chrome developer console, going to the network tab and looking at the POST variables when you submit a form.

1 Like

Did you ever find a solution? I’d like to toggle my vpn on/off via api, so related.