# Article Name 3 Ways to Delete Users from Google Workspace # Article Summary Explore three methods to delete users from Google Workspace, helping you keep your organization's directory clean and compliant # Original HTML URL on Toriihq.com https://www.toriihq.com/articles/how-to-delete-user-google-workspace # Details Old or duplicate accounts aren’t just visual clutter in Google Workspace, they can trigger license costs, security gaps, and compliance red flags. This quick guide breaks down three no-nonsense ways to remove users, whether you’re in the Admin console every day or only when something goes wrong. You’ll see when each method makes sense and the exact clicks or API calls involved, so you can shrink your directory while keeping data, shared files, and groups intact. ## Use Google Workspace's UI You can delete an account directly within the Google Admin console. The whole job takes about a minute; take a moment to hand off the user’s files so collaboration doesn’t grind to a halt. ### Step 1: Open the Admin console - Sign in at admin.google.com with your super-admin credentials. - On the Home page, choose Directory and then Users. ### Step 2: Find the user - Type the person’s name or email in the search bar at the top. - Click the matching result to open the account page. ### Step 3: Start the delete flow - In the upper-right corner, click More actions. - Select Delete user. ### Step 4: Decide what happens to the data Google shows a screen where you can flip switches for three items: - Gmail - Drive and Docs - Google Workspace groups For each item, pick a new owner from the drop-down. Leave a switch off, and that data disappears when the account goes away. ### Step 5: Confirm - Review the summary Google displays. - If everything looks right, click Delete user. That’s it. Google blocks access immediately, and you have 20 days to restore the account from Users > Recently deleted users if needed. ## Use Torii Managing user accounts directly in Google Workspace isn’t the only option. Torii, a SaaS Management Platform, pulls every subscription into one dashboard so admins can handle onboarding, offboarding, integrations, and usage reports. All of it happens programmatically, no extra clicks inside Google Workspace. Torii lets you automate the entire offboarding flow from start to finish. Define a trigger such as an employee departure, new hire, or contract renewal, and Torii handles the account deletion, freeing hours of admin time when the task repeats. Here’s how to delete a user in Google Workspace from within Torii: ### 1. Sign up for Torii Contact Torii [https://www.toriihq.com/] to request a complimentary two-week proof-of-concept. ### 2. Connect your Google Workspace account to Torii After your Torii environment is ready, link Google Workspace to it (assuming you already have a Workspace tenant). Follow these step-by-step instructions for the Google Workspace integration [https://support.toriihq.com/hc/en-us/articles/5165001141019]. ### 3. Create a Torii workflow for Google Workspace Inside Torii, navigate to the Workflows tab, set up the appropriate trigger, and add an action to delete the user in Google Workspace. Whenever the trigger conditions are satisfied, the workflow will run and automatically remove the user from your Workspace domain. ## Use Google Workspace's API Below you’ll walk through the exact API calls needed to remove a user from your Google Workspace domain. ### Step 1: Confirm you have the right scopes - The service account or OAuth client must include the https://www.googleapis.com/auth/admin.directory.user scope. - If you’re using a service account, be sure domain-wide delegation is turned on and the Admin role “User Management Admin” (or higher) is assigned. ### Step 2: Get an access token exchange your credentials for an OAuth 2.0 access token. You can lean on the Google OAuth client library, but the raw HTTP flow below shows what happens under the hood: Save the returned accesstoken. ### Step 3: Call the DELETE endpoint Replace USERKEY with the user’s primary email address or unique user ID, and double-check you’re pointing at the correct domain so nothing important disappears by accident. A successful call returns HTTP 200 with an empty body, meaning the account is gone. ### Step 4: Double-check the deletion To verify, request the same user record; if the API answers with a 404, the account is definitely gone. With that single call, the account disappears from Gmail, Drive, Calendar, and every other Google Workspace service. ## Torii for SaaS Management If you're ready to dig deeper into SaaS management, our team would love to talk. Torii's SaaS Management Platform helps you: - Uncover shadow IT: AI-driven discovery scans your environment in real time and flags unapproved apps as soon as they appear. - Reduce spend: Cut waste by removing idle licenses and overlapping subscriptions. - Automate employee lifecycle workflows: Hands-free onboarding and offboarding save hours and prevent mistakes. - Stay ahead of renewals: Get timely reminders well before any contract comes up for renewal. Torii is the first complete SaaS Management Platform, giving Finance, IT, and Security a single, reliable source of truth. You can explore the full platform capabilities by heading to Torii [https://www.toriihq.com].