Disenroll a device
Devices
Disenroll a device
Disenroll the device from MDM; once done, the device is no longer managed. Android is disenrolled immediately. On macOS, Windows and Linux a removal script runs when the device next checks in, so it still reads as enrolled until then; other platforms cannot be disenrolled remotely and are refused with 502. A device with no MDM host record is only marked disenrolled. It cannot be undone from the API — the device has to enroll again (see sendEnrollmentRequest). retireDevice and deleteDevice require a device that is no longer enrolled.