OK. here's the situation. we are 1:1 with student iPads at the high school level. we replaced the older student 1:1 devices and are in the process of repurposing the old one to be used on carts in the elementary schools. for the most part they have all been wiped and are good to go, however every so often one pops up that has not been wiped yet.
my goal is to have a self service policy that asks for the serial number and then runs a script that issues the remote wipe command via the API, and then just let DEP configure the device.
i just don't know the API command
any ideas?