I have been trying to set up a Postman Runner job to bulk rename Meraki APs through the API.
Following the steps in:
https://community.meraki.com/t5/Wireless/Rename-AP-with-postman-runner/m-p/21137#M3507
I have created the following:
POST {{baseUrl}}/networks/{{networkId}}/devices/{{serial}}?name={{name}}
with a body that contains the following:
{
"name": "{{name}}",
"serial": "{{serial}}"
}
I then created a CSV file with the following information:
serial,name
Qxxx-6yyy-Uzzz,HQ-PMDF-AP999
(I've anonymised the real serial number)
Next, I opened up a new runner tab, loaded it with the collection above, pointed it at the CSV file and ran it.
What I got is shown below:
so the output shows it has gone to the right network, picked up both the AP serial number and the new AP name from the CSV file OK, but is showing a 404, not found, and is not updating the AP name.
I think this may be because it needs to know old and new names, and can't find the new name in the network (hence the 404 error), which is correct, but I don't see how to make it search out the old name and swap it for the new.
Incidentally, I also get "No Tests Found" but I think that is informational and is because I have just tried to do something but issued no tests....that what i think, but confirmation would be nice!
Thanks
Roo