Wipe Device API AlternativeSolved

Participant
Discussion
1 week ago Aug 06, 2026

In the API documentation, the Wipe Device action is marked as deprecated. What is the alternative for this? We use the API (not console) to manage Device Owner / Android Enterprise devices and need the ability to wipe a device if stolen.

Replies (1)

Marked SolutionPending Review
Participant
6 days ago Aug 07, 2026
Marked SolutionPending Review

Hey! Our team went through the same hurdle when they deprecated the direct Wipe API, but we found a workaround that worked for us.

Instead of calling a wipe command directly, we used Hexnode’s automation feature and triggered that via the API. It worked the exact same as the old remote action for us.

Here is how we set it up:

  1. Create the Automation: Head over to the Hexnode console, go to the Automate tab, and create a new automation. Add the Wipe Device remote action for your target OS (like Android) and save it.
  2. Trigger via API: We then used the Initiate Automation API to execute it. You just pass the Automation ID and set the stolen device as the target. You can find the payload parameters for this API here.

Disclaimer: Please try this at your own risk! Since wiping a device is a critical and irreversible action, I highly recommend testing this out on a spare or dummy device first to ensure your API payload is hitting the right targets.

Give that a try and let me know how it worked out in your workflow!

Save