> ## 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 all content and settings from a device based on its management ID.

<Note>
  External Documentation

  To learn more, visit the [Jamf documentation](https://developer.jamf.com/jamf-pro/reference/post_v2-mdm-commands).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter                 | Description                                                                                                                                                                                                                                                       |
  | ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Bootstrap Token           | The bootstrap token for the device.                                                                                                                                                                                                                               |
  | Client Data               | A JSON array of objects of devices to erase. Each object's `managementId` can be obtained via the `Get Computer Inventory` action.<br /><br />For example:<br /><pre><code>\[<br />  \{<br />    "managementId": "\<management\_id>"<br />  }<br />]</code></pre> |
  | Command Data PIN          | The six-character PIN for Find My.<br /><br />**Note**: This value is available in macOS 10.8 and later.                                                                                                                                                          |
  | Disallow Proximity Setup  | Select to disable Proximity Setup on the next reboot and skip the pane in Setup Assistant.<br /><br />**Note**: This value is available in iOS 11 and later. Prior to iOS 14, don't use this option with any other option.                                        |
  | MDM Profile Data          | The MDM profile for Return to Service.                                                                                                                                                                                                                            |
  | Obliteration Behavior     | Select the fallback behavior for erasing a device.                                                                                                                                                                                                                |
  | Preserve Data Plan        | Select to preserve the data plan on an iPhone or iPad with eSIM functionality, if one exists.<br /><br />**Note**: This value is available in iOS 11 and later.                                                                                                   |
  | Return to Service Enabled | Select to enable Return to Service.<br /><br />**Note**: Required when configuring the other Return to Service parameters below.                                                                                                                                  |
  | WiFi Profile Data         | The WiFi profile for Return to Service.                                                                                                                                                                                                                           |
</div>

## Example Output

```json theme={"dark"}
[
	{
		"id": "1",
		"href": "https://yourJamfProUrl.jamf/api/v1/resource/1"
	}
]
```

## Workflow Library Example

[Erase Device with Jamf and Send Results Via Email](https://library.blinkops.com/workflows/erase-device-with-jamf-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/erase-device-with-jamf-and-send-results-via-email/canvas" />
</div>
