Google Reseller Customer Admin User Creation Admin SDK How

可紊 提交于 2019-12-22 13:35:52

问题


Google Provisioning API is being replaced by Admin SDK. How can I create a Admin User for my Reseller Customer through Directory API programmatically after creating the customer and subscription through the Google Reseller API. Here is my work flow so far.

  • OAuth 2 Access Token is obtained for scopes -- https://www.googleapis.com/auth/apps.order -- https://www.googleapis.com/auth/admin.directory.user

  • Customer is created and subscription is set to flexible

Now I like to create the first Admin user for the domain. when i want to insert the admin user for the domain, I get the error API is not enabled.

How can I programmatically enable this domains API and create the Admin user. I like to automate the user creation for our billing software.

来源:https://stackoverflow.com/questions/17035542/google-reseller-customer-admin-user-creation-admin-sdk-how

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!