Bulk actions for schools – erase device, clear passcodes

JamesG1
Here to help

Bulk actions for schools – erase device, clear passcodes

Hi, we have many thousands of iPads spanning 32 different schools and each summer has been a chore to wipe the devices en masse. There is currently not a bulk command to do this. Selective Wipe under Quarantine leaves photos etc.

 

If this is not possible to add in to the Command menu, does someone have a Python script to do this using the API?

 

Thanks,

 

James

4 Replies 4
JamesG1
Here to help

...also if there was a script we'd need to have a way to limit the scope to student devices and not staff.

vassallon
Kind of a big deal

It would be wonderful to have both of these features available through the dashboard so we can utilize tags/select the iPads we want. If there was some way to do this through the API that would be okay as well.

Found this helpful? Give me some Kudos! (click on the little up-arrow below)
SoCalRacer
Kind of a big deal

This should get you started with the API.

 

https://dashboard.meraki.com/api_docs#wipe-a-device

Nash
Kind of a big deal

Looks like you could pull this together with some loops iterating through arrays. (You know... like most Python Meraki scripts.)

 

https://dashboard.meraki.com/api_docs#list-the-devices-enrolled-in-an-sm-network-with-various-specif... <-- call this and filter by the tag you use for student devices. Shove the results in a variable.

 

Make an array of the ID numbers or serial numbers. 

 

for item in numberArray:

 

call https://dashboard.meraki.com/api_docs#wipe-a-device

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels