Google AppScript , Sign-Out and Delete Device Endpoint Management

How would one initiate a sign-out on a device , similar to using the GUI in the Admin Console (Devices > Overview> Endpoints) 

bpanday_0-1697230647919.pngbpanday_1-1697230694068.png

As highlighted by above screenshot.

Can this be implemented in Google App script , as this is a process that happens manually when a user is offboarded. I've been using admin SDK to perform mobile device wipe, however for "Endpoint devices" I'm not finding any information on performing the sign-out and delete device.

If not built into admin SDK would the cloud identity API provide these methods to iterate on Endpoint Devices.  Most devices in Endpoint Devices are windows devices since  both Google Workspace and Microsoft365 are used . 

 

0 0 503
0 REPLIES 0