Question

The "official" list of supported scopes appears incomplete.

Specifically, I need to move from the (deprecated) Google Apps Provisioning API to the Admin SDK, and I am not sure what the correct scopes are.

These are a few endpoints I am interested in.

https://apps-apis.google.com/a/feeds/domain/2.0/{domainName}/general/currentNumberOfUsers
https://www.googleapis.com/admin/directory/v1/groups/groupKey/members

For these endpoints, I am only interested in read-only access. Does the Admin SDK support read-only scopes?

Was it helpful?

Solution

From https://developers.google.com/admin-sdk/directory/v1/guides/authorizing:

Scopes for devices

Scopes for groups, group aliases, and group members

Scopes for organization units

Scopes for users and user aliases

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top