gws-licensing
Installation
Summary
Manage Google Workspace Enterprise product licenses across users and SKUs.
- Supports license assignment, revocation, retrieval, and reassignment operations through seven API methods on the licenseAssignments resource
- Enables bulk listing of licensed users by product SKU and individual license lookups by user and product
- Requires Google Workspace authentication and the
gwsCLI binary; see shared prerequisites in../gws-shared/SKILL.md - Use
gws schemacommand to inspect method parameters and build API calls with--paramsand--jsonflags
SKILL.md
licensing (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws licensing <resource> <method> [flags]
API Resources
licenseAssignments
delete— Revoke a license.get— Get a specific user's license by product SKU.insert— Assign a license.listForProduct— List all users assigned licenses for a specific product SKU.listForProductAndSku— List all users assigned licenses for a specific product SKU.patch— Reassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.update— Reassign a user's product SKU with a different SKU in the same product.
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws licensing --help
# Inspect a method's required params, types, and defaults
gws schema licensing.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Weekly Installs
560
Repository
googleworkspace/cliGitHub Stars
25.2K
First Seen
Mar 4, 2026
Security Audits