Google Workspace Groups API

The Groups API from Google Workspace — 14 operation(s) for groups.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 20

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PATCH /v1/groups/{groupsId} Update a group's details · Patch groups #
Ask an LLM
“How do I rename a group or change its description?”
“Can I add labels to a group?”
Tell an agent
Rename group {groupsId} to {displayName}.
Set the description of group {groupsId} to {description}.
DELETE /v1/groups/{groupsId} Delete a group · Delete groups #
Ask an LLM
“How do I delete a group?”
“Can I remove a group I no longer need?”
Tell an agent destructive · confirm first
Delete group {groupsId}.
Remove the group {groupsId}.
GET /v1/groups/{groupsId} Get a group · Get groups #
Ask an LLM
“How do I look up a group's details by its ID?”
“What display name and description does a group have?”
Tell an agent
Get group {groupsId}.
Show the details of group {groupsId}.
GET /v1/groups List groups under a parent · List groups #
Ask an LLM
“Which groups exist under a given parent?”
“Can I list groups in a namespace?”
Tell an agent
List groups under {parent}.
Show all groups in the {parent} namespace.
POST /v1/groups Create a group · Create groups #
Ask an LLM
“How do I create a new group?”
“Can I set a description and labels on a new group?”
Tell an agent
Create a group named {displayName}.
Create group {displayName} under {parent} with description {description}.
GET /v1/groups:lookup Look up a group by its entity key · Lookup groups #
Ask an LLM
“How do I find the resource name of a group when I only know its email address?”
“Can I look up a group's name by its Google-managed identity key?”
Tell an agent
Look up group {groupKey}.
Find the resource name of the group with entity key {groupKey} in namespace {namespace}.
GET /v1/groups/{groupsId}/securitySettings Get a group's security settings · Get security settings groups #
Ask an LLM
“What security settings are configured on a group?”
“Can I read a group's security settings by field?”
Tell an agent
Get the security settings of group {groupsId}.
Show security settings {readMask} for group {groupsId}.
PATCH /v1/groups/{groupsId}/securitySettings Update a group's security settings · Update security settings groups #
Ask an LLM
“How do I change who can join a group?”
“Can I update a group's member restriction?”
Tell an agent
Set member restriction {memberRestriction} on group {groupsId}.
Update security settings {updateMask} on group {groupsId} to {memberRestriction}.
GET /v1/groups:search Search groups by query · Search groups #
Ask an LLM
“How do I find groups matching a search query?”
“Can I search groups by label?”
Tell an agent
Search groups matching {query}.
Find groups matching {query} with view {view}.
GET /v1/groups/{groupsId}/memberships/{membershipsId} Get a group membership · Get memberships #
Ask an LLM
“How do I look up one membership in a group?”
“What roles does a specific membership have?”
Tell an agent
Get membership {membershipsId} in group {groupsId}.
Show the roles of membership {membershipsId} in group {groupsId}.
DELETE /v1/groups/{groupsId}/memberships/{membershipsId} Remove a membership from a group · Delete memberships #
Ask an LLM
“How do I remove someone from a group?”
“Can I delete a membership record?”
Tell an agent destructive · confirm first
Delete membership {membershipsId} from group {groupsId}.
Remove {membershipsId} from group {groupsId}.
GET /v1/groups/{groupsId}/memberships:searchTransitiveMemberships List all direct and indirect members of a group · Search transitive memberships memberships #
Ask an LLM
“Who is a member of a group, including through nested groups?”
“Can I see every transitive membership of a group?”
Tell an agent
List all transitive memberships of group {groupsId}.
Show every direct and indirect member of {groupsId}.
POST /v1/groups/{groupsId}/memberships Add a member to a group · Create memberships #
Ask an LLM
“How do I add a user to a group?”
“Can I set roles when creating a group membership?”
Tell an agent
Add a membership to group {groupsId} for {preferredMemberKey}.
Create a {type} membership in {groupsId} for {preferredMemberKey} with roles {roles}.
GET /v1/groups/{groupsId}/memberships List a group's memberships · List memberships #
Ask an LLM
“Which members belong to a group?”
“Can I list a group's memberships with a view?”
Tell an agent
List the memberships of group {groupsId}.
Show {view} memberships of {groupsId}.
GET /v1/groups/{groupsId}/memberships:lookup Look up a membership by entity key · Lookup memberships #
Ask an LLM
“Can I find the membership of a user in a group when I only have their email?”
“What is the membership name of a user within a group?”
Tell an agent
Look up the membership of {memberKey} in group {groupsId}.
Find out who belongs to group {groupsId} by entity key {memberKey}.
GET /v1/groups/{groupsId}/memberships:searchDirectGroups Find the groups a member belongs to directly · Search direct groups memberships #
Ask an LLM
“Which groups is a member a direct member of?”
“Can I search a member's direct group memberships by label?”
Tell an agent
Find direct groups of {query} in {groupsId}.
List the direct group memberships of {query} ordered by {orderBy}.
GET /v1/groups/{groupsId}/memberships:getMembershipGraph Get the membership graph for a member · Get membership graph memberships #
Ask an LLM
“How do I see all the groups a member belongs to, including nested ones?”
“Can I get the full membership graph for a member?”
Tell an agent
Get the membership graph for {query} in {groupsId}.
Show every group path for {query} under {groupsId}.
GET /v1/groups/{groupsId}/memberships:checkTransitiveMembership Check if a member is in a group · Check transitive membership memberships #
Ask an LLM
“Is a given user a member of a group, even through nested groups?”
“Can I verify a transitive membership in one call?”
Tell an agent
Check whether {query} is a member of {groupsId}.
Verify transitive membership of {query} in {groupsId}.
POST /v1/groups/{groupsId}/memberships/{membershipsId}:modifyMembershipRoles Change a membership's roles · Modify membership roles memberships #
Ask an LLM
“How do I make someone a manager of a group?”
“Can I remove roles from a membership?”
Tell an agent
Set roles {updateRolesParams} on membership {membershipsId} in {groupsId}.
Remove roles {removeRoles} from membership {membershipsId} in {groupsId}.
GET /v1/groups/{groupsId}/memberships:searchTransitiveGroups List all groups a member belongs to · Search transitive groups memberships #
Ask an LLM
“Which groups is a member a member of, including nested ones?”
“Can I search a member's transitive group memberships by label?”
Tell an agent
Find all groups {query} belongs to in {groupsId}.
List transitive group memberships of {query} under {groupsId}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-workspace:google-workspace-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-workspace-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Identity Groups API
  version: v1
  description: Generated from Google's published Discovery document for Cloud Identity API (cloudidentity v1, revision 20261108). 20 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://cloudidentity.googleapis.com
tags:


# --- truncated at 32 KB (69 KB total) ---
# Full source: https://artifacts.apis.io/google-workspace/openapi/google-workspace-groups-api-openapi.yml