gws-admin
Google Workspace Admin SDK: Manage users, groups, and devices.
What this skill does
# admin (directory_v1) > **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it. ```bash gws admin <resource> <method> [flags] ``` ## API Resources ### asps - `delete` — Deletes an ASP issued by a user. - `get` — Gets information about an ASP issued by a user. - `list` — Lists the ASPs issued by a user. ### channels - `stop` — Stops watching resources through this channel. ### chromeosdevices - `action` — Use [BatchChangeChromeOsDeviceStatus](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) instead. Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices. *Warning:* * Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled. - `get` — Retrieves a Chrome OS device's properties. - `list` — Retrieves a paginated list of Chrome OS devices within an account. - `moveDevicesToOu` — Moves or inserts multiple Chrome OS devices to an organizational unit. You can move up to 50 devices at once. - `patch` — Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. This method supports [patch semantics](https://developers.google.com/workspace/admin/directory/v1/guides/performance#patch). - `update` — Updates a device's updatable properties, such as `annotatedUser`, `annotatedLocation`, `notes`, `orgUnitPath`, or `annotatedAssetId`. ### customer - `devices` — Operations on the 'devices' resource ### customers - `get` — Retrieves a customer. - `patch` — Patches a customer. - `update` — Updates a customer. - `chrome` — Operations on the 'chrome' resource ### domainAliases - `delete` — Deletes a domain Alias of the customer. - `get` — Retrieves a domain alias of the customer. - `insert` — Inserts a domain alias of the customer. - `list` — Lists the domain aliases of the customer. ### domains - `delete` — Deletes a domain of the customer. - `get` — Retrieves a domain of the customer. - `insert` — Inserts a domain of the customer. - `list` — Lists the domains of the customer. ### groups - `delete` — Deletes a group. - `get` — Retrieves a group's properties. - `insert` — Creates a group. - `list` — Retrieves all groups of a domain or of a user given a userKey (paginated). - `patch` — Updates a group's properties. This method supports [patch semantics](https://developers.google.com/workspace/admin/directory/v1/guides/performance#patch). - `update` — Updates a group's properties. - `aliases` — Operations on the 'aliases' resource ### members - `delete` — Removes a member from a group. - `get` — Retrieves a group member's properties. - `hasMember` — 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. To check for nested memberships that include entities outside of the group's domain, use the [`checkTransitiveMembership()`](https://cloud.google.com/identity/docs/reference/rest/v1/groups.memberships/checkTransitiveMembership) method in the Cloud Identity Groups API. - `insert` — Adds a user to the specified group. - `list` — Retrieves a paginated list of all members in a group. This method times out after 60 minutes. For more information, see [Troubleshoot error codes](https://developers.google.com/workspace/admin/directory/v1/guides/troubleshoot-error-codes). - `patch` — Updates the membership properties of a user in the specified group. This method supports [patch semantics](https://developers.google.com/workspace/admin/directory/v1/guides/performance#patch). - `update` — Updates the membership of a user in the specified group. ### mobiledevices - `action` — Takes an action that affects a mobile device. For example, remotely wiping a device. - `delete` — Removes a mobile device. - `get` — Retrieves a mobile device's properties. - `list` — Retrieves a paginated list of all user-owned mobile devices for an account. To retrieve a list that includes company-owned devices, use the Cloud Identity [Devices API](https://cloud.google.com/identity/docs/concepts/overview-devices) instead. This method times out after 60 minutes. For more information, see [Troubleshoot error codes](https://developers.google.com/workspace/admin/directory/v1/guides/troubleshoot-error-codes). ### orgunits - `delete` — Removes an organizational unit. - `get` — Retrieves an organizational unit. - `insert` — Adds an organizational unit. - `list` — Retrieves a list of all organizational units for an account. - `patch` — Updates an organizational unit. This method supports [patch semantics](https://developers.google.com/workspace/admin/directory/v1/guides/performance#patch) - `update` — Updates an organizational unit. ### privileges - `list` — Retrieves a paginated list of all privileges for a customer. ### resources - `buildings` — Operations on the 'buildings' resource - `calendars` — Operations on the 'calendars' resource - `features` — Operations on the 'features' resource ### roleAssignments - `delete` — Deletes a role assignment. - `get` — Retrieves a role assignment. - `insert` — Creates a role assignment. - `list` — Retrieves a paginated list of all roleAssignments. ### roles - `delete` — Deletes a role. - `get` — Retrieves a role. - `insert` — Creates a role. - `list` — Retrieves a paginated list of all the roles in a domain. - `patch` — Patches a role. - `update` — Updates a role. ### schemas - `delete` — Deletes a schema. - `get` — Retrieves a schema. - `insert` — Creates a schema. - `list` — Retrieves all schemas for a customer. - `patch` — Patches a schema. - `update` — Updates a schema. ### tokens - `delete` — Deletes all access tokens issued by a user for an application. - `get` — Gets information about an access token issued by a user. - `list` — Returns the set of tokens specified user has issued to 3rd party applications. ### twoStepVerification - `turnOff` — Turns off 2-Step Verification for user. ### users - `createGuest` — Create a guest user with access to a [subset of Workspace capabilities](https://support.google.com/a/answer/16558545). This feature is currently in Alpha. Please reach out to support if you are interested in trying this feature. - `delete` — Deletes a user. - `get` — Retrieves a user. - `insert` — Creates a user. Mutate calls immediately following user creation might sometimes fail as the user isn't fully created due to propagation delay in our backends. Check the error details for the "User creation is not complete" message to see if this is the case. Retrying the calls after some time can help in this case. If `resolveConflictAccount` is set to `true`, a `202` response code means that a conflicting unmanaged account exists and was invited to join the organization. - `list` — Retrieves a paginated list of either deleted users or all users in a domain. - `makeAdmin` — Makes a user a super administrator. - `patch` — Updates a user using patch semantics. The update method should be used instead, because it also supports patch semantics and has better performance. If you're mapping an external identity to a Google identity, use the [`update`](https://developers.google.com/workspace/admin/directory/v1/reference/users/update) method instead of the `patch` method. This method is unable to clear fields that contain repeated objects (`addresses`, `phones`, etc). Use the update method instead. - `signOut` — Signs a user out of all web and device sessions and reset their sign-in cookies. User will have to sign in by authenticat
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.