> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Erase Device

Erase a device.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Iru Endpoint Management documentation](https://api-docs.iru.com/#149ae2cc-fb7f-42ce-8379-187878685303).

## Parameters

| Parameter | Description |
| - | - |
| Device ID | The device's ID. |
| Disallow Proximity Setup | If checked, disables Proximity Setup on the next reboot and skips the pane in Setup Assistant. This parameter is available in iOS 11 and later.  **Note**: Prior to iOS 14, don’t use this parameter with any other parameter. |
| PIN | The six-character PIN for Find My. This parameter is available in macOS 10.8 and later. Note: This parameter will be ignored for iOS, iPadOS, and tvOS devices. |
| Preserve Data Plan | If checked, preserves the data plan on an iPhone or iPad with eSIM functionality, if one exists. This parameter is available in iOS 11 and later. |
| Profile ID | Profile ID value associated with a Wi-Fi profile payload. **Note**: Required when the device doesn’t have ethernet access. |
| Return To Service | If checked, the device tries to re-enroll itself automatically after erasure.  **Note**: The user needs to deactivate all activation locks for this feature to work correctly. |

## Workflow Library Example

[Erase Device with Iru Endpoint Management and Send Results Via Email](https://library.blinkops.com/workflows/erase-device-with-iru-endpoint-management-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/erase-device-with-iru-endpoint-management-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/erase-device-with-iru-endpoint-management-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.