API for deleting a device?

This post was originally published on this site

Trying to figure out how to formulate an API call to delete a device from our system.


So I know things like the below to query the device: 




But if I wanted to delete a specific device thru API how would I do that?  If possible, thinking thru a Unix shell script as would be running it thru a Mac.  Basically trying to wipe and reset a device between use and find that usually when i delete the existing record before recreating it things flow better where if I don’t sometimes apps don’t reinstall and show red x and stuff.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.