AnyConnect API

Mloraditch
Getting noticed

AnyConnect API

Per this doc: https://documentation.meraki.com/MX/Client_VPN/AnyConnect_on_the_MX_Appliance#Dashboard_API_Support

 

There should be an anyconnect api, but I can't find it at the referenced location or anywhere else.

 

Does anyone know what's up?

2 REPLIES 2
SoCalRacer
Kind of a big deal

I believe there are only 2 endpoints which I have screenshot below with sample code, hope that helps.

 

SoCalRacer_0-1659035614206.png

SoCalRacer_1-1659035709327.png

 

curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -H 'Content-Type: application/json' -X PUT --data-binary '{"enabled":true,"subnet":"192.168.1.0/24","domainName":"meraki.com","sslPort":1443,"banner":"Welcome","authType":"radius","radiusServers":[{"host":"0.0.0.0","port":3000,"password":"your password"}],"dnsMode":"custom","dnsCustomNameservers":["1.1.1.1","2.2.2.2"],"splitTunnelMode":"Include","splitTunnelDestinations":["222.123.22.0/24","111.123.11.0/24"]}' 'https://api.meraki.com/api/v1/networks/{networkId}/appliance/clientVpn/anyconnectVpn'

 

curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -H 'Content-Type: application/json' -X GET 'https://api.meraki.com/api/v1/networks/{networkId}/appliance/clientVpn/anyconnectVpn'

 

Do those work for you? I get nothing on a get. Also tried to create it in postman and failed.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.