I do not believe 2LO is possible with Email Settings API. The primary domain key/secret at:
https://www.google.com/a/cpanel/example.com/SetupOAuth only gives you access to the user data APIs (Calendar, Contacts, Docs List, etc), not the Admin APIs like Provisioning and Email Settings. Marketplace Vendors and anyone you manually give access can do limited read-only provisioning API calls via 2LO but have no access to Email Settings API. As far as I know, Email Settings API is only accessible via 3LO of a domain admin right now (and ClientLogin of course). That's how my program, Google Apps Manager (GAM) does it. Jay -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/9BF51AKCaEEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
