Actions & Endpoints
Introduction
The Google Workspace Admin Sdk Integration with Rewst delivers a robust set of actions and endpoints for interacting with Google Workspace Admin Sdk. Below is a summary of each section, highlighting the diverse capabilities and opportunities provided through the Google Workspace Admin Sdk Integration:
Actions
Chrome OS Devices
Take Action on Chrome OS Device
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/devices/chromeos/{resourceId}/action
Takes an action that affects a Chrome OS Device This includes deprovisioning disabling and re-enabling devices
Domain Aliases
List Domain Aliases
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domainaliases
Lists the domain aliases of the customer
Create Domain Alias
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domainaliases
Inserts a domain alias of the customer
Get Domain Alias
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domainaliases/{domainAliasName}
Retrieves a domain alias of the customer
Delete Domain Alias
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domainaliases/{domainAliasName}
Deletes a domain Alias of the customer
Domains
List Domains
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domains
Lists the domains of the customer
Create Domain
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domains
Inserts a domain of the customer
Get Domain
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domains/{domainName}
Retrieves a domain of the customer
Delete Domain
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/domains/{domainName}
Deletes a domain of the customer
Generic Request
Google Workspace Admin SDK API Request
GET
https://admin.googleapis.com/<url_path>
Generic action for making authenticated requests against the Google Workspace Admin SDK API
Groups
List Groups
GET
https://admin.googleapis.com/admin/directory/v1/groups
Retrieves all groups of a domain or of a user given a userKey paginated
Create Group
POST
https://admin.googleapis.com/admin/directory/v1/groups
Creates a group
Get Group
GET
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}
Retrieves a group's properties
Delete Group
DELETE
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}
Deletes a group
Update Group
PATCH
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}
Updates a group's properties This method supports patch semantics admin_sdk directory v guides performance patch
List Groups Aliases
GET
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/aliases
Lists all aliases for a group
Create Groups Alias
POST
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/aliases
Adds an alias for the group
Delete Groups Alias
DELETE
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/aliases/{alias}
Removes an alias
Members
Check if User is Member of Group
GET
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}
Checks whether the given user is a member of the group Membership can be direct or nested but if nested the memberKey and groupKey must be entities in the same domain or an Invalid input error is returned.
List Group Members
GET
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members
Retrieves a paginated list of all members in a group This method times out after minutes For more information see Troubleshoot error codes https developers google com admin_sdk directory v guides troubleshoot_error_codes
Add Group Member
POST
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members
Adds a user to the specified group
Get Group Members
GET
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members/{memberKey}
Retrieves a group member's properties
Remove Member from Group
DELETE
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members/{memberKey}
Removes a member from a group
Update Group Member
PATCH
https://admin.googleapis.com/admin/directory/v1/groups/{groupKey}/members/{memberKey}
Updates the membership properties of a user in the specified group.
Mobile Devices
List Mobile Devices
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/devices/mobile
Retrieves a paginated list of all user_owned mobile devices for an account
Get Mobile Device
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/devices/mobile/{resourceId}
Retrieves a mobile device's properties
Delete Mobile Device
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/devices/mobile/{resourceId}
Removes a mobile device
Take Action on Mobile Device
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/devices/mobile/{resourceId}/action
Takes an action that affects a mobile device For example remotely wiping a device
Org Units
List Organizational Units
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits
Retrieves a list of all organizational units for an account
Create Organizational Unit
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits
Adds an organizational unit
Get Organizational Units
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/{orgUnitPath}
Retrieves an organizational unit
Update Organizational Unit
PUT
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/{orgUnitPath}
Updates an organizational unit
Delete Organizational Unit
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/{orgUnitPath}
Removes an organizational unit
Update Organizational Unit
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/orgunits/{orgUnitPath}
Updates an organizational unit This method supports patch semantics
Privileges
List Privileges
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roles/ALL/privileges
Retrieves a paginated list of all privileges for a customer
Resources
List Buildings
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/buildings
Retrieves a list of buildings for an account
Create Building
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/buildings
Inserts a building
Get Building
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/buildings/{buildingId}
Retrieves a building
Delete Building
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/buildings/{buildingId}
Deletes a building
Update Building
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/buildings/{buildingId}
Patches a building
List Calendars
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars
Retrieves a list of calendar resources for an account
Create Calendar
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars
Inserts a calendar resource
Get Calendar
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars/{calendarResourceId}
Retrieves a calendar resource
Delete Calendar
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars/{calendarResourceId}
Deletes a calendar resource
Update Calendar
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars/{calendarResourceId}
Patches a calendar resource
List Features
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features
Retrieves a list of features for an account
Create Feature
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features
Inserts a feature
Get Resources Features
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features/{featureKey}
Retrieves a feature
Delete Feature
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features/{featureKey}
Deletes a feature
Update Resource
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features/{featureKey}
Patches a feature
Rename Feature
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/features/{oldName}/rename
Renames a feature
Role Assignments
List Role Assignments
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roleassignments
Retrieves a paginated list of all roleAssignments
Create Role Assignment
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roleassignments
Creates a role assignment
Get Role Assignment
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roleassignments/{roleAssignmentId}
Retrieves a role assignment
Delete Role Assignment
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roleassignments/{roleAssignmentId}
Deletes a role assignment
Roles
Get Role
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roles/{roleId}
Retrieves a role
Delete Roles
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roles/{roleId}
Deletes a role
Update Role
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/roles/{roleId}
Patches a role
Schemas
List Schemas
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas
Retrieves all schemas for a customer
Create Schemas
POST
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas
Creates a schema
Get Schemas
GET
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas/{schemaKey}
Retrieves a schema
Update Schemas
PUT
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas/{schemaKey}
Updates a schema
Delete Schemas
DELETE
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas/{schemaKey}
Deletes a schema
Patch Schemas
PATCH
https://admin.googleapis.com/admin/directory/v1/customer/my_customer/schemas/{schemaKey}
Patches a schema
Tokens
List Tokens
GET
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/tokens
Returns the set of tokens specified user has issued to 3rd party applications
Get Token
GET
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/tokens/{clientId}
Gets information about an access token issued by a user
Delete Token
DELETE
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/tokens/{clientId}
Deletes all access tokens issued by a user for an application
Users
Undelete User
POST
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/undelete
Undeletes a deleted user
Create User
POST
https://admin.googleapis.com/admin/directory/v1/users
Creates a user
Update User
PUT
https://admin.googleapis.com/admin/directory/v1/users/{userKey}
Updates a user
List User(s)
GET
https://admin.googleapis.com/admin/directory/v1/users
Retrieves all users
Get User
GET
https://admin.googleapis.com/admin/directory/v1/users/{userKey}
Retrieves a user
Delete User
DELETE
https://admin.googleapis.com/admin/directory/v1/users/{userKey}
Deletes a user
Verification Codes
List Verification Codes
GET
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/verificationCodes
Returns the current set of valid backup verification codes for the specified user
Generate Verification Codes
POST
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/verificationCodes/generate
Generates new backup verification codes for the user
Invalidate Verification Codes
POST
https://admin.googleapis.com/admin/directory/v1/users/{userKey}/verificationCodes/invalidate
Invalidates the current backup verification codes for the user
Last updated