Get sharing settings of the organization using the API

185 views Asked by At

Is it possible to retrieve (or change) google drive's sharing settings using the API? I don't want to share a file, but to see the organization's settings, as described here:
https://support.google.com/a/answer/60781?hl=en

If so, what are the required scopes that I need?
Thanks

2

There are 2 answers

1
Linda Lawton - DaImTo On

The google Drive API is a file system API, it gives you access to files.

It does not give you access to change the settings for the Google Drive web application.

You could go in with the drive api and chance the permissions on directories and files in drive and maybe control some things that way.

3
alberto vielma On

Sorry, but it's not possible to do it programmatically As the Directory API: Limits and Quotas in Api Limits and Quotas states:

Groups, settings: Groups access settings, sharing options, monitoring, and discussion archive is managed using the Admin console. For more information about groups settings, see the administration help center.