cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4966
Views
1
Helpful
3
Replies

AnyConnect API

mloraditch
Meraki Community All-Star
Meraki Community All-Star

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?

If you found this post helpful, please give it a thumbs up. If my answer solves your problem please click Accept as Solution so others can benefit from it.
3 Replies 3

SoCalRacer
Level 9
Level 9

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

image.png

image.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'

mloraditch
Meraki Community All-Star
Meraki Community All-Star

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

If you found this post helpful, please give it a thumbs up. If my answer solves your problem please click Accept as Solution so others can benefit from it.

Anyone got any news on this endpoint? As of 2023-06-22 it still does not work and it's still in the AnyConnect documentation, but not in the API docs.