I am trying to learn this, but I am so frustrated. I dont know what questions to even ask anymore.
I'm reading but I just don't get it. I was hoping a video might help, or some other sources.
I have a test Org set up with some of my MS390s, and have the Meraki Dashboard API downloaded in Postman.
I have no issue with running any of those.
My two end goals right now are:
1. cycle specific ports.
2. disable unused ports if no traffic after X days
I have found
https://developer.cisco.com/meraki/api/cycle-device-switch-ports/
https://developer.cisco.com/meraki/api-v1/get-device-switch-ports-statuses/
how do you get those in postman?
I also found this
https://community.meraki.com/t5/Developers-APIs/Switchport-Status-call/m-p/72278
but no updates since 2020
I eventually want to expand on these to cycle ports if in a specific vlan (homegrown devices lose connectivity & is PoE)
and disable ports after x number of days and label port with the date and change its vlan.
Your long terms goals might be challenging to achieve in Postman. Have you considered using Python instead?
So I need to abandon postman?
What do I need to do to run python?
How to setup Python to connect to the Meraki Dashboard
https://www.youtube.com/watch?v=7ZlgAXFvJcU
Thank you. Trying to keep up with my sysadmin duties and try to learn a new programming language is overwhelming sometimes.
I personally use them hand-in-hand.
Postman is very helpful for finding API calls, understanding the input and output fields and data structures.
Once you have the API call and structures, you can then use Python to build code around it and implement the automation.
Maybe it will help you.
https://www.youtube.com/watch?v=SSA31frWPeQ