Microsoft provides a programmatic method to offboard a device from a Co-Managed device using the: https://api.securitycenter.microsoft.com/api/machines/9301fb4a17734bd1eb6c3466aa82bb941d575cae/offboard { "Comment": "Offboard machine by automation ...