Skip to main content

Hello,

I'm trying to query IPsec tunnel status via API v2, but the response I get via the swagger UI is 

{"status": 405, "result": "method not allowed, please remove IPSec tunnels from webui to proceed further"}

 

The token is good as other endpoints work and the /api/v2/steering/ipsec/ endpoint is allowed for this token.

Any clue why I'm getting this response?

 

-JD

Hi John,


once API is enabled for tenant, then you cannot use web UI to create or manage tunnels. 


In other words, if you want to monitor the tunnels using an API call, it's required to create those tunnels using the api, too. 


hth,


Roberto


Hi @rclavero 

Just to confirm, if the IPSEC tunnel was created in the web UI i cannot use the API V2 to query the IPSEC tunnel list?

 

Thanks

TP


If i wan't to monitor the bandwidth from my GRE tunnel or IPSEC and if both was been created in the UI i will not be able to use the API!?


Reply