Automate Google Admin SDK
HumDay reads Google Admin SDK’s own published API description and derives 122 operations from it. Describe the outcome you want in plain words — you get a program that is written, proven on real data, and run for you.
What Google Admin SDK is
Admin SDK lets administrators of enterprise domains to view and manage resources like user, groups etc. It also provides audit and usage reports of domain.
API host: admin.googleapis.com
What HumDay can do in Google Admin SDK
78 documented operations change something in Google Admin SDK. The 67 most useful are listed here.
- POSTCreates a user.
/admin/directory/v1/users - POSTStops watching resources through this channel.
/admin/directory_v1/channels/stop - POSTWatches for changes in users list.
/admin/directory/v1/users/watch - PATCHAdds a photo for the user.
/admin/directory/v1/users/{userKey}/photos/thumbnail - PUTAdds a photo for the user.
/admin/directory/v1/users/{userKey}/photos/thumbnail - DELETEDeletes a user.
/admin/directory/v1/users/{userKey} - PATCHUpdates a user using patch semantics.
/admin/directory/v1/users/{userKey} - PUTUpdates a user. This method supports patch semantics, meaning that you only need to include the fields you wish to update. Fields that are not present in the request will be prese…
/admin/directory/v1/users/{userKey} - POSTGenerates new backup verification codes for the user.
/admin/directory/v1/users/{userKey}/verificationCodes/generate - PATCHPatches a customer.
/admin/directory/v1/customers/{customerKey} - PUTUpdates a customer.
/admin/directory/v1/customers/{customerKey} - POSTCreates a group.
/admin/directory/v1/groups - POSTAdds an alias.
/admin/directory/v1/users/{userKey}/aliases - POSTSigns a user out of all web and device sessions and reset their sign-in cookies.
/admin/directory/v1/users/{userKey}/signOut - POSTCreates a printer under given Organization Unit.
/admin/directory/v1/{parent}/chrome/printers - POSTUndeletes a deleted user.
/admin/directory/v1/users/{userKey}/undelete - POSTCreates a role.
/admin/directory/v1/customer/{customer}/roles - POSTAdds a user to the specified group.
/admin/directory/v1/groups/{groupKey}/members - POSTMakes a user a super administrator.
/admin/directory/v1/users/{userKey}/makeAdmin - DELETEDeletes a print server.
/admin/directory/v1/{name} - PATCHUpdates a print server's configuration.
/admin/directory/v1/{name} - POSTCreates a print server.
/admin/directory/v1/{parent}/chrome/printServers - POSTCreates a schema.
/admin/directory/v1/customer/{customerId}/schemas - POSTAdds an organizational unit.
/admin/directory/v1/customer/{customerId}/orgunits - POSTCreates a role assignment.
/admin/directory/v1/customer/{customer}/roleassignments - POSTCreates printers under given Organization Unit.
/admin/directory/v1/{parent}/chrome/printers:batchCreatePrinters - POSTWatches for changes in users list.
/admin/directory/v1/users/{userKey}/aliases/watch - POSTCreates multiple print servers.
/admin/directory/v1/{parent}/chrome/printServers:batchCreatePrintServers - DELETERemoves the user's photo.
/admin/directory/v1/users/{userKey}/photos/thumbnail - POSTInserts a calendar resource.
/admin/directory/v1/customer/{customer}/resources/calendars - POSTTurns off 2-Step Verification for user.
/admin/directory/v1/users/{userKey}/twoStepVerification/turnOff - DELETEDeletes an ASP issued by a user.
/admin/directory/v1/users/{userKey}/asps/{codeId} - POSTInvalidates the current backup verification codes for the user.
/admin/directory/v1/users/{userKey}/verificationCodes/invalidate - DELETEDeletes all access tokens issued by a user for an application.
/admin/directory/v1/users/{userKey}/tokens/{clientId} - POSTAdds an alias for the group.
/admin/directory/v1/groups/{groupKey}/aliases - POSTInserts a domain of the customer.
/admin/directory/v1/customer/{customer}/domains - POSTInserts a domain alias of the customer.
/admin/directory/v1/customer/{customer}/domainaliases - POSTDeletes printers in batch.
/admin/directory/v1/{parent}/chrome/printers:batchDeletePrinters - POSTDeletes multiple print servers.
/admin/directory/v1/{parent}/chrome/printServers:batchDeletePrintServers - DELETEDeletes a calendar resource.
/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId} - PATCHPatches a calendar resource.
/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId} - PUTUpdates a calendar resource.
/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId} - DELETEDeletes a group.
/admin/directory/v1/groups/{groupKey} - PATCHUpdates a group's properties.
/admin/directory/v1/groups/{groupKey} - PUTUpdates a group's properties.
/admin/directory/v1/groups/{groupKey} - POSTIssues a command for the device to execute.
/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}:issueCommand - POSTInserts a feature.
/admin/directory/v1/customer/{customer}/resources/features - POSTInserts a building.
/admin/directory/v1/customer/{customer}/resources/buildings - DELETERemoves an alias.
/admin/directory/v1/users/{userKey}/aliases/{alias} - DELETEDeletes a role.
/admin/directory/v1/customer/{customer}/roles/{roleId} - PATCHPatches a role.
/admin/directory/v1/customer/{customer}/roles/{roleId} - PUTUpdates a role.
/admin/directory/v1/customer/{customer}/roles/{roleId} - PATCHUpdates the membership properties of a user in the specified group.
/admin/directory/v1/groups/{groupKey}/members/{memberKey} - PUTUpdates the membership of a user in the specified group.
/admin/directory/v1/groups/{groupKey}/members/{memberKey} - DELETEDeletes a domain of the customer.
/admin/directory/v1/customer/{customer}/domains/{domainName} - DELETEDeletes a schema.
/admin/directory/v1/customer/{customerId}/schemas/{schemaKey} - PATCHPatches a schema.
/admin/directory/v1/customer/{customerId}/schemas/{schemaKey} - PUTUpdates a schema.
/admin/directory/v1/customer/{customerId}/schemas/{schemaKey} - DELETERemoves an organizational unit.
/admin/directory/v1/customer/{customerId}/orgunits/{orgUnitPath} - PATCHUpdates an organizational unit.
/admin/directory/v1/customer/{customerId}/orgunits/{orgUnitPath} - PUTUpdates an organizational unit.
/admin/directory/v1/customer/{customerId}/orgunits/{orgUnitPath} - DELETEDeletes a domain Alias of the customer.
/admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName} - DELETEDeletes a role assignment.
/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId} - POSTMoves or inserts multiple Chrome OS devices to an organizational unit.
/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu - PATCHUpdates a device's updatable properties, such as annotatedUser, annotatedLocation, notes, orgUnitPath, or annotatedAssetId.
/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId} - PUTUpdates a device's updatable properties, such as annotatedUser, annotatedLocation, notes, orgUnitPath, or annotatedAssetId.
/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId} - DELETERemoves a mobile device.
/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}
What HumDay can read from Google Admin SDK
These are the operations a schedule or a trigger can watch.
- GETRetrieves a paginated list of either deleted users or all users in a domain.
/admin/directory/v1/users - GETRetrieves a user.
/admin/directory/v1/users/{userKey} - GETRetrieves a paginated list of all user-owned mobile devices for an account.
/admin/directory/v1/customer/{customerId}/devices/mobile - GETRetrieves a list of calendar resources for an account.
/admin/directory/v1/customer/{customer}/resources/calendars - GETRetrieves a customer.
/admin/directory/v1/customers/{customerKey} - GETRetrieves all groups of a domain or of a user given a userKey (paginated).
/admin/directory/v1/groups - GETLists the ASPs issued by a user.
/admin/directory/v1/users/{userKey}/asps - GETReturns the set of tokens specified user has issued to 3rd party applications.
/admin/directory/v1/users/{userKey}/tokens - GETLists all aliases for a user.
/admin/directory/v1/users/{userKey}/aliases - GETList printers configs.
/admin/directory/v1/{parent}/chrome/printers - GETRetrieves a paginated list of all the roles in a domain.
/admin/directory/v1/customer/{customer}/roles - GETReturns a print server's configuration.
/admin/directory/v1/{name} - GETRetrieves a list of all organizational units for an account.
/admin/directory/v1/customer/{customerId}/orgunits - GETReturns the current set of valid backup verification codes for the specified user.
/admin/directory/v1/users/{userKey}/verificationCodes - GETRetrieves a paginated list of all roleAssignments.
/admin/directory/v1/customer/{customer}/roleassignments - GETRetrieves the user's photo.
/admin/directory/v1/users/{userKey}/photos/thumbnail - GETRetrieves a list of features for an account.
/admin/directory/v1/customer/{customer}/resources/features - GETRetrieves a paginated list of Chrome OS devices within an account.
/admin/directory/v1/customer/{customerId}/devices/chromeos - GETRetrieves a list of buildings for an account.
/admin/directory/v1/customer/{customer}/resources/buildings - GETGets information about an ASP issued by a user.
/admin/directory/v1/users/{userKey}/asps/{codeId} - GETGets information about an access token issued by a user.
/admin/directory/v1/users/{userKey}/tokens/{clientId} - GETRetrieves a paginated list of all privileges for a customer.
/admin/directory/v1/customer/{customer}/roles/ALL/privileges - GETRetrieves a paginated list of all members in a group.
/admin/directory/v1/groups/{groupKey}/members - GETLists the domains of the customer.
/admin/directory/v1/customer/{customer}/domains - GETLists print server configurations.
/admin/directory/v1/{parent}/chrome/printServers - GETRetrieves all schemas for a customer.
/admin/directory/v1/customer/{customerId}/schemas - GETLists the domain aliases of the customer.
/admin/directory/v1/customer/{customer}/domainaliases - GETLists the supported printer models.
/admin/directory/v1/{parent}/chrome/printers:listPrinterModels - GETRetrieves a calendar resource.
/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId} - GETRetrieves a group's properties.
/admin/directory/v1/groups/{groupKey} - GETRetrieves a role.
/admin/directory/v1/customer/{customer}/roles/{roleId} - GETChecks whether the given user is a member of the group.
/admin/directory/v1/groups/{groupKey}/hasMember/{memberKey} - GETRetrieves a domain of the customer.
/admin/directory/v1/customer/{customer}/domains/{domainName}
How automating Google Admin SDK works
- Describe the outcome. Say what you want to happen, in your own words. No node graphs, no field mapping.
- Approve the contract. HumDay writes down exactly what it will do, what it will touch, and what it will never do. You approve it before anything is built.
- See it proven. The program runs and shows you the result before it is allowed near your live Google Admin SDK account.
- Grant access, then go live. You approve the specific Google Admin SDK operations it may use — and only those.
Automate Google Admin SDK with these
- Gmail79 operations
- Google+9 operations
- Google Abusive Experience Report2 operations
- Google Accelerated Mobile Pages (AMP) URL1 operations
- Google Access Approval7 operations
- Google Access Context Manager9 operations
- Google ACME DNS2 operations
- Google Ad Exchange Buyer38 operations
- Google Ad Exchange Buyer II50 operations
- Google Ad Experience Report2 operations
- Google AdMob7 operations
- Google AdSense Host26 operations
Categories
Questions about Google Admin SDK automation
- Can HumDay connect to Google Admin SDK?
- Yes. HumDay reads Google Admin SDK's own published API description and derives the operations from it, so there is no hand-built connector to wait for. 122 operations are documented.
- Do I need to write code to automate Google Admin SDK?
- No. You describe the outcome you want in plain words. HumDay agrees a contract with you, writes the program, and shows you a test run before anything touches your Google Admin SDK account.
- What can HumDay do in Google Admin SDK?
- 78 of the 122 documented operations change something in Google Admin SDK, and 44 read from it. HumDay only ever uses the specific operations your approved contract needs.
- Is my Google Admin SDK account safe?
- Your credentials are stored encrypted and are never shown in chat, code, or logs. Every run is limited to the operations you explicitly approved, and anything that writes to Google Admin SDK is held behind that approval.
Where this came from
The operations above are read from a published API description for Google Admin SDK at admin.googleapis.com/$discovery/rest?version=directory_v1. Descriptions are the provider’s own words, not ours. Last published 2023-04-21.