Stay organized with collections
Save and categorize content based on your preferences.
Flags used to control data wiping behavior when a device is deleted. By default all user data and factory reset protection data is wiped.
Enums
WIPE_DATA_FLAG_UNSPECIFIED
This value is ignored.
PRESERVE_RESET_PROTECTION_DATA
Preserve the factory reset protection data on the device.
WIPE_EXTERNAL_STORAGE
Additionally wipe the device's external storage (such as SD cards).
WIPE_ESIMS
For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the ADD_ESIM command) on the devices and no personally owned eSIMs will be removed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-25 UTC."],[],[],null,["# WipeDataFlag\n\nFlags used to control data wiping behavior when a device is deleted. By default all user data and factory reset protection data is wiped.\n\n| Enums ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `WIPE_DATA_FLAG_UNSPECIFIED` | This value is ignored. |\n| `PRESERVE_RESET_PROTECTION_DATA` | Preserve the factory reset protection data on the device. |\n| `WIPE_EXTERNAL_STORAGE` | Additionally wipe the device's external storage (such as SD cards). |\n| `WIPE_ESIMS` | For company-owned devices, this removes all eSIMs from the device when the device is wiped. In personally-owned devices, this will remove managed eSIMs (eSIMs which are added via the [`ADD_ESIM`](/android/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType.ENUM_VALUES.ADD_ESIM) command) on the devices and no personally owned eSIMs will be removed. |"]]