Netskope Community
03-03-2023 07:20 AM
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
Solved! Go to Solution.
03-15-2023 01:38 PM
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
03-15-2023 01:38 PM
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
09-06-2023 12:45 AM
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
Thursday
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!?
In order to view this content, you will need to sign in to your account. Simply click the "Sign In" button below
Sign In