AnyConnect API

Mloraditch
Head in the Cloud

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?

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
3 Replies 3
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'

 

Mloraditch
Head in the Cloud

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 Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
zeestrat-nina
Here to help

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.

Get notified when there are additional replies to this discussion.