Request for Step-by-Step Documentation to Create API for Automating User Suspension in Google Worksp

We are currently working on integrating our ERP system with Google Workspace (GWS) to automate user management processes. Specifically, we aim to develop an API that will automatically suspend a userโ€™s email account in GWS when the user is marked as disabled in our ERP system.

Request for Documentation:

To ensure this integration is implemented correctly, we kindly request a step-by-step guide or process document that details the following:

  1. API Setup:
    • How to create and configure the API for the purpose of suspending users in Google Workspace.
    • Detailed instructions on setting up a Service Account with Domain-Wide Delegation.
  2. Required API Details:
    • API endpoints, methods, and payload format for suspending user accounts.
    • Required OAuth 2.0 scopes and permissions.
  3. Integration with ERP System:
    • How the ERP system can securely use the API to suspend users.
    • Instructions for sharing and handling the JSON credentials file.

      Expected Outcome:

      We are looking for a comprehensive process document that will guide us through creating, configuring, and securely implementing the API integration to automate user suspension in Google Workspace.

      Please let us know if any additional information or clarifications are required from our side to facilitate your response.

0 1 147
1 REPLY 1

A few thoughts:

1) Check out Google Cloud Directory Sync, a pre-built (free) app from Google which is designed to help with exactly this sort of task. See https://support.google.com/a/topic/2679497?hl=en for all the details.

2) A good place to get started if you want to build custom code is https://developers.google.com/workspace

3) If youโ€™d like someone to build you a fully detailed plan like the one you described above, you probably want to contact a consulting partner that specializes in Workspace. See https://cloud.google.com/find-a-partner/?products=Google%20Workspace

4) You can probably more easily build this relying on the free, open source, command-line, indispensable GAM tool. Check out:

for more details.

Hope that helps,

Ian

Top Labels in this Space
Top Solution Authors