Ask the community

Strange response querying IPsec tunnels in API

JohnD
New Contributor

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

1 Solution
rclavero
Netskope
Netskope

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

View solution in original post

1 Reply 1
rclavero
Netskope
Netskope

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

Labels

In order to view this content, you will need to sign in to your account. Simply click the "Sign In" button below

Sign In