> ## Documentation Index
> Fetch the complete documentation index at: https://iru-kbee-63-enhance-rts-documentation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Erase an Android Device

> Remotely factory reset a managed Android device from Iru Endpoint. Optionally erase external storage and eSIMs.

<Callout icon="android" color="#B84A7A" iconType="regular">This guide applies to Android devices</Callout>

### About Device Erase

You can use the **Erase Device** command on Android devices enrolled in Iru Endpoint. The command factory resets the device through the Android Management API.

For Apple devices, see [Erase an Apple Device](/en/endpoint/devices/device-actions/erase-a-device). For Windows devices, see [Erase a Windows Device](/en/endpoint/devices/device-actions/erase-a-windows-device).

### How It Works

The Erase Device command permanently removes all data and settings from a device, returning it to factory defaults. The command is delivered through the Android Management API.

* **Online devices**: The command runs when the device is online.
* **Offline devices**: The command is queued until the device next connects to the internet.

### Erase Android Devices

<Steps>
  <Step title="Navigate to Device Record">
    Navigate to the **Device Record** in the Iru Web App.
  </Step>

  <Step title="Open Device Action Menu">
    Open the **Device Action Menu** (ellipsis).
  </Step>

  <Step title="Select Erase Device">
    Select **Erase Device**.
  </Step>

  <Step title="Configure Erase Options">
    In the confirmation dialog, review the erase details and optionally configure:

    * **Erase external storage**: Erase any connected SD cards or external storage drives
    * **Erase eSIMs**: Erase any installed eSIMs
  </Step>

  <Step title="Confirm Erase">
    Type `ERASE` in the confirmation field and click **Erase Device** to send the command.
  </Step>
</Steps>

### Android Erase Behavior

* **Factory reset**: All data, applications, and settings are removed.
* **Setup**: The device returns to initial setup state.
* **Erase external storage**: Optionally erase any connected SD cards or external storage drives.
* **Erase eSIMs**: Optionally erase any installed eSIMs.

### Considerations

<CardGroup cols={2}>
  <Card title="Android Management API" icon="android" iconType="brands">
    Android erase commands work through the Android Management API and factory reset the device.
  </Card>

  <Card title="Data recovery" icon="triangle-exclamation">
    All data is permanently deleted and cannot be recovered.
  </Card>

  <Card title="External storage" icon="hard-drive">
    You can optionally erase connected SD cards or external storage drives as part of the command.
  </Card>

  <Card title="eSIMs" icon="sim-card">
    You can optionally erase any installed eSIMs as part of the command.
  </Card>
</CardGroup>

<Warning>
  Erasing a device permanently deletes all data and cannot be undone. Back up anything you need to keep before you proceed.
</Warning>

### Related Articles

<CardGroup cols={2}>
  <Card title="Erase an Apple Device" icon="apple" iconType="brands" href="/en/endpoint/devices/device-actions/erase-a-device">
    Remotely erase a Mac, iPhone, iPad, Apple TV, or visionOS device
  </Card>

  <Card title="Erase a Windows Device" icon="microsoft" iconType="brands" href="/en/endpoint/devices/device-actions/erase-a-windows-device">
    Remotely wipe a Windows device with Local, Cloud, or Protected erase
  </Card>

  <Card title="Lock a Device" icon="lock" href="/en/endpoint/devices/device-actions/lock-a-device">
    Remotely lock a managed device and optionally display a message on the lock screen
  </Card>

  <Card title="Reset Android Work Profile Passcode" icon="key" href="/en/endpoint/devices/device-actions/reset-android-work-profile-passcode">
    Reset or set a work profile passcode on a managed Android device
  </Card>

  <Card title="Deleting a Device Record and Uninstalling Iru Endpoint" icon="trash" href="/en/endpoint/devices/device-record-management/deleting-a-device-record-and-uninstalling-iru-endpoint">
    Delete device records and uninstall Iru Endpoint when preparing devices for reassignment or removal
  </Card>
</CardGroup>
