I have a large number of old iOS devices that my company is disposing of and i need to device wipe. There's no device wipe in list view bulk actions. I have experience with the Rest API and there used to be a method for device wipe. Seems the command i used last time a few years back has been deprecated. I tried following the API explorer, but it's not working.
Thanks
Use the "CommandsV2" API for this. /devices/commands/{commandName}/device/{searchBy}/{id} where {commandName} is DeviceWipe. Refer to the online help for more details.
Use the "CommandsV2" API for this. /devices/commands/{commandName}/device/{searchBy}/{id} where {commandName} is DeviceWipe. Refer to the online help for more details.