how to get google workspace endpoints list from a google script

34 views
Skip to first unread message

Mateus Guilherme

unread,
Jul 31, 2023, 8:08:18 AM7/31/23
to Google Apps Script Community
Hi

I'm trying to get the list of Google Workspace endpoints(Google Admin Panel=>Devices=>overview=>Endpoints... ), but I can't find a way to do that. I managed to get the list of mobile devices through the following way:

page = AdminDirectory.Mobiledevices.list('my_customer',{
 orderBy: 'lastSync', 
 maxResults: 100, 
 pageToken: pageToken 
 });

Is there a similar way to list endpoints?

thanks
Reply all
Reply to author
Forward
0 new messages