If all of the ports are being given the same configuration, the change can be easily achieved in the GUI: Switching -> Switch Ports -> Check all of the ports you're making the change on -> Edit. If the ports are being given different configuration, the API is definitely the way to go. You will need your script to import the CSV, parse it and build a JSON file with the appropriate configuration and send that with the API request. You can find a poor but functional powershell script below that you can use as reference. Meraki/Meraki Update Switchports.ps1 at main · Brash92/Meraki (github.com)
... View more