Products
Platform
General
Public groups
Get answers from our community of experts in record time.
Hello,
Is there an API endpoint to get the 'LAN Config' when VLANs are disabled?
The /networks/{networkId}/vlans endpoint does not work as VLANs are not enabled and I cannot see another endpoint that can get these settings.
Solved! Go to solution.
To add to @Nash 's work-around, no.
View solution in original post
When I ran into this, I ended up taking every network w/ vlan disabled and just... enabling them, but not configuring additional vlans.
If you can iterate through a list and return Org Name -> Network Name -> https://developer.cisco.com/meraki/api/#/rest/api-endpoints/vlans/get-network-vlans-enabled-state it'll tell you who/what needs them enabled.
Then you can use https://developer.cisco.com/meraki/api/#/rest/api-endpoints/vlans/update-network-vlans-enabled-state to enable.