EraseDeviceCommand.Command
The command to remotely and immediately erase a device.
Declaration
object EraseDeviceCommand.CommandProperties
| Name | Type | Description |
|---|---|---|
DisallowProximitySetup | boolean | If Available: iOS 11.3+ | iPadOS 11.3+ |
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:
Available: macOS 12+ |
PIN | string | The six-character PIN for Find My. Available: macOS 10.8+ |
PreserveDataPlan | boolean | If Available: iOS 11+ | iPadOS 11+ | watchOS 10+ |
RequestRequiresNetworkTether | boolean | If |
RequestType Required | string | The request type for this command. |
ReturnToService | EraseDeviceCommand.Command.ReturnToService | The configuration settings for return to service. Available: iOS 17+ | iPadOS 17+ | tvOS 18+ | visionOS 26+ |