EraseDeviceCommand.Command
The command to remotely and immediately erase a device.
Declaration
object EraseDeviceCommand.CommandProperties
| Name | Type | Description |
|---|---|---|
DisallowProximitySetup | boolean | If |
ObliterationBehavior | string | This key defines the fallback behavior for erasing a device. In macOS 12 and later, this command uses Erase All Content and Settings (EACS) on Mac computers with the Apple M1 chip or the Apple T2 Security Chip. On those devices, if EACS can’t run, the device can use obliteration (macOS 11.x behavior). This key has no effect on machines prior to the T2 chip. For a list of supported macs, see Mac models with the Apple T2 Security Chip. Upon receiving this command, the device performs preflight checks to determine if the device is in a state that allows EACS. The The following values define the device’s fallback behavior:
|
PIN | string | The six-character PIN for Find My. This value is available in macOS 10.8 and later. |
PreserveDataPlan | boolean | If |
RequestRequiresNetworkTether | boolean | If |
RequestType Required | string | The request type for this command. |
ReturnToService | EraseDeviceCommand.Command.ReturnToService | The configuration settings for return to service. This value is available in iOS 17 and later, with Shared iPad, in tvOS 18 and later, and in visionOS 26 and later. |