Unenrolls device from Google EMM and deletes the Google account details.
Unenrolls a device from Google EMM and deletes its stored Google account details.
Permanently removes the GoogleAccount record associated with the device, unenrolling it from Android Enterprise (Google EMM) management for that device.
About Unenroll Device from Google EMM ⚠️ Android only. This endpoint applies to devices enrolled in Android Enterprise through Google EMM (managed Google Play). Deleting the account record unenrolls the device from Google EMM and removes its stored Google account details, which affects the device's ability to install and manage EMM-distributed apps until it is re-enrolled.
Common Use Cases
Unenrolling a device from Google EMM before decommissioning or reassigning it
Clearing a corrupted or stale Google account record so the device can be re-enrolled cleanly
Best Practices
Confirm the device no longer needs EMM-managed app access before unenrolling, since this removes its Google account details entirely
Re-enrollment requires creating a new Google account record through POST /v2/devices/{deviceId}/google-accounts/ rather than restoring the deleted one
Workflow
Confirm the device's current EMM enrollment with GET /v2/devices/{deviceId}/google-accounts/
DELETE the Google account record to unenroll the device
Re-enroll with a new POST request if the device needs EMM access again later
Path parameters
The unique identifier of the device for which Google account details need to be updated.
Response
Successfully unenrolled and deleted the Google account details.