cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk actions for schools – erase device, clear passcodes

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
Highlighted
Here to help

Re: Bulk actions for schools – erase device, clear passcodes

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

A model citizen

Re: Bulk actions for schools – erase device, clear passcodes

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)
Head in the Cloud

Re: Bulk actions for schools – erase device, clear passcodes

This should get you started with the API.

 

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

A model citizen

Re: Bulk actions for schools – erase device, clear passcodes

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

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