How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Google Workspace Users API

Manage user accounts in a Google Workspace domain

Google Workspace Users API is one of 29 APIs that Google Workspace publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include User. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, an API reference, a getting-started guide, and 1 JSON Schema.

This API exposes 9 operations across 5 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version directory_v1.

Requests are made against a single base URL, https://admin.googleapis.com.

9 operations 5 paths 4 schemas 1 DELETE2 GET1 PATCH4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
directory_v1
Base URL
https://gmail.googleapis.com
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Google Workspace Users API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 6 scopes. By default, every request must be authenticated.

  • oauth2 — OAuth 2.0 authorization for Google Workspace Admin operations.

Paths & Operations 9

Across 5 paths, the API surfaces 9 operations — 1 DELETE, 2 GET, 1 PATCH, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Users 9

Manage user accounts in a Google Workspace domain

GET
/admin/directory/v1/users
List Users
listUsers 11 params → 200400401403
POST
/admin/directory/v1/users
Create a User
insertUser body → 200400401403409
GET
/admin/directory/v1/users/{userKey}
Get a User
getUser 4 params → 200401403404
PUT
/admin/directory/v1/users/{userKey}
Update a User
updateUser 1 param body → 200400401403404
PATCH
/admin/directory/v1/users/{userKey}
Patch a User
patchUser 1 param body → 200400401403404
DELETE
/admin/directory/v1/users/{userKey}
Delete a User
deleteUser 1 param → 204401403404
POST
/admin/directory/v1/users/{userKey}/makeAdmin
Make a User a Super Administrator
makeUserAdmin 1 param body → 204401403404
POST
/admin/directory/v1/users/{userKey}/undelete
Undelete a User
undeleteUser 1 param body → 204401403404
POST
/admin/directory/v1/users/{userKey}/signOut
Sign Out a User
signOutUser 1 param → 204401403404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are User (42 properties), Users (5 properties), UserName (4 properties), Error (1 property). Each schema is shown below with its type and property counts.

Users
object
A paginated list of user resources.
5 properties
UserName
object
A user name object containing given, family, and full name.
4 properties 2 required
User
object
A Google Workspace user account. JSON representation of a user resource from the Admin SDK Directory API.
42 properties 2 required
Error
object
An error response from the API.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

google-workspace-users-api-openapi.yml Raw ↑

Other APIs Google Workspace publishes across the network.

Gmail API
Google Drive API
Google Calendar API
Google Meet REST API
Google Docs API
Google Sheets API
Google Slides API
Google Chat API
Admin SDK Reports API
Google Forms API
Google Tasks API
Google Keep API
Where this information came from

This is an independent, third-party profile of Google Workspace Users API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.