Important: We are no longer accepting new registrations for the Play EMM API.
Learn more.
Delete apps
Manually delete apps
Users can delete apps manually from their device unless the device’s DPC
restricts them from doing so. If the app is still available in the managed
Google Play store, the user can re-install the app.
Prevent users from deleting apps
At the DPC-level, you can prevent users from deleting specific apps using
DevicePolicyManager.setUninstallBlocked
.
Remove apps from the managed Play Store
Removing an app from the Device
's
policy
prevents new installs and updates of the app on that device. However
the app is not uninstalled automatically.
Delete apps
To delete an app from a user's device, call
Installs.delete
.
Reclaim paid app licenses
Uninstalling an app doesn’t delete a user’s entitlement to the app. Call
Entitlements.delete
to
dissociate an entitlement from a user and release the user’s license for the
app.
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["Users can manually delete apps unless restricted by device policies, and can reinstall them if available in the managed Google Play store."],["Device Policy Controllers (DPCs) can prevent users from deleting specific apps."],["Removing an app from a device's policy in the managed Play Store prevents new installations and updates but doesn't automatically uninstall it."],["To delete an app from a user's device, use the `Installs.delete` API call."],["Uninstalling an app doesn't remove the user's license; use the `Entitlements.delete` API call to reclaim paid app licenses."]]],[]]