Enable "Allow less secure apps" programmatically?
16:07 25 Jul 2018

Is there a to enable "Allow less secure apps" for domain users using Google Apps Script? I browsed the G Suite Admin SDK reference but couldn't find anything. There's ResolvedAppAccessSettings: ListTrustedApps in Directory API > Security, but it's not what I wanted.

Thanks.

google-apps-script google-admin-sdk