Hi everyone, I finally managed this issue by a simple bash script and it worked perfectly. All you need is a CSV file with this format : VLAN1,101,10.4.134.0/26,10.4.134.62 VLAN2,102,10.4.134.64/26,10.4.134.126 Which is Vlan_name,vlan_id,subnet,MX_IP And then create a bash script with this code (admitting that your CSV file is in the same folder and named vlans.scv) : #/bin/bash! for enreg in `cat vlans.csv` do Vlan_name=`echo $enreg | awk -F"," '{ print $1 }'` Vlan_id=`echo $enreg | awk -F"," '{ print $2 }'` Vlan_subnet=`echo $enreg | awk -F"," '{ print $3 }'` Mx_ip=`echo $enreg | awk -F"," '{ print $4 }'` echo "Sending POST request for Vlan $Vlan_id : " curl -L -H 'X-Cisco-Meraki-API-Key: <INSERT_YOUR_KEY_HERE>' -H 'Content-Type: application/json' -X POST --data-binary '{"id":"'$Vlan_id'","name":"'$Vlan_name'","applianceIp":"'$Mx_ip'","subnet":"'$Vlan_subnet'"}' 'https://dashboard.meraki.com/api/v0/networks/<INSERT_YOUR_NETWORK_ID_HERE>/vlans' done Then execute ! Hopes it can help someone 🙂
... View more