# Mass Rename Meraki iPads

**URL:** <https://community.postman.com/t/mass-rename-meraki-ipads/20053>\
**Category:** Help Hub\
**Tags:** documentation, variables, collections, scripts\
**Created:** [February 4, 2021, 7:32pm UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053 "2021-02-04T19:32:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zrosario](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zrosario](https://community.postman.com/u/zrosario)\
**Post date:** [February 4, 2021, 7:32pm UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053/1 "2021-02-04T19:32:46Z")

</div>

We are unable to mass rename iPads. What is the correct string in the [PUT] to pull ‘Serial’ and ‘Name’ from my .CSV?  
Note: Rename works manually entering ‘Serial’ and ‘Name’ value (see image)

 ![Manual renaming](https://us1.discourse-cdn.com/getpostman/original/3X/4/6/46d58160f39d1cafbb3ea927fb044d7552727d33.png) ![Rename iPad csv image](https://us1.discourse-cdn.com/getpostman/original/3X/c/4/c42f64539b4937b7f006a1811bd1894cd4211ebd.jpeg)

---

<div class="post-metadata">

**Author:** ![zrosario](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zrosario](https://community.postman.com/u/zrosario)\
**Post date:** [February 4, 2021, 7:34pm UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053/2 "2021-02-04T19:34:14Z")

</div>

> **[Renaming Systems Manager Client Devices with a .csv and Meraki API using...](https://documentation.meraki.com/SM/Other_Topics/Renaming_Systems_Manager_Client_Devices_with_a_.csv_and_Meraki_API_using_Postman_Runner)**
>
> Renaming devices one at a time can easily be performed on the Meraki Dashboard in the Systems Manager \> Clients page UI. However more complex tasks, such as renaming devices on a mass scale, can be …

---

<div class="post-metadata">

**Author:** ![zrosario](https://avatars.discourse-cdn.com/v4/letter/z/e47774/32.png) [@zrosario](https://community.postman.com/u/zrosario)\
**Post date:** [February 4, 2021, 7:39pm UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053/3 "2021-02-04T19:39:32Z")

</div>

[PUT] [https://dashboard.meraki.com/api/v0/networks/network\_id/sm/device/fields?serial={{serial}](https://dashboard.meraki.com/api/v0/networks/network_id/sm/device/fields?serial=%7B%7Bserial%7D)}&deviceFields={“name”:"{{name}}"}

The trailing values of this command is incorrect? {{Serial}} and {{Name}} is not pulling values from our .CSV after uploading our .CSV and choosing “Run” command

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [February 5, 2021, 7:18am UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053/4 "2021-02-05T07:18:51Z")

</div>

I’m not sure what it is you’re trying to do here as its a 3rd post for thier flow but I can see that in both the CSV and images on the post - The variable names are `serial` and `name`.

In your CSV, you have `Serial` and `Name` which wouldn’t match the variable place holders in the collection.

If you’re making changes in the Collection, ensure that you save them before running the Runner, as it won’t know about the change until they are saved.

---

<div class="post-metadata">

**Author:** ![bielva92](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@bielva92](https://community.postman.com/u/bielva92)\
**Post date:** [April 17, 2021, 4:10pm UTC](https://community.postman.com/t/mass-rename-meraki-ipads/20053/5 "2021-04-17T16:10:41Z")

</div>

Hello.  
That happens to me too. If I do it individually I have no problem but when I relate it to the .csv it gives me the same error.  
Can you tell me how you have solved it?

I leave my code:

{  
“id”: “ed2f93b8-c1873-4949-979b-2d5a435353beb”,  
“name”: “Number”,  
“url”: “[https://n148.meraki.com/api/v0/networks/Network\_id/sm/device/fields](https://n148.meraki.com/api/v0/networks/Network_id/sm/device/fields)? serial=D………HW&deviceFields={%22name%E2%80%9D:%E2%80%9……%20….%E2%80%9D}”,  
“time”: 307,  
“responseCode”: {  
“code”: 400,  
“name”: “Bad Request”  
},  
“tests”: {},  
“testPassFailCounts”: {},  
“times”: [  
307  
],  
“allTests”: [  
{}  
]

Thank you
