WipeDataFlag
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-25 UTC.
[null,null,["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. |"]]