Google

Enterprise License Manager API

The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.

Developer tools#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage.

Endpoints 7

licenseAssignments

  • GETGet a specific user's license by product SKU./apps/licensing/v1/product/:productId/sku/:skuId/user/:userIdGet a specific user's license by product SKU.
  • PUTReassign a user's product SKU with a different SKU in the same product./apps/licensing/v1/product/:productId/sku/:skuId/user/:userIdReassign a user's product SKU with a different SKU in the same product.
  • DELETERevoke a license./apps/licensing/v1/product/:productId/sku/:skuId/user/:userIdRevoke a license.
  • PATCHReassign a user's product SKU with a different SKU in the same product/apps/licensing/v1/product/:productId/sku/:skuId/user/:userIdReassign a user's product SKU with a different SKU in the same product. This method supports patch semantics.
  • POSTAssign a license./apps/licensing/v1/product/:productId/sku/:skuId/userAssign a license.
  • GETList all users assigned licenses for a specific product SKU./apps/licensing/v1/product/:productId/users?customerId=string&maxResults=0&pageToken=stringList all users assigned licenses for a specific product SKU.
  • GETList all users assigned licenses for a specific product SKU./apps/licensing/v1/product/:productId/sku/:skuId/users?customerId=string&maxResults=0&pageToken=stringList all users assigned licenses for a specific product SKU.

API details

Base URL
https://licensing.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter
Operations
7 operations on 4 pathsGET 3PUT 1POST 1PATCH 1DELETE 1
Main resources
licenseAssignments 7
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Enterprise License Manager API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Enterprise License Manager API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Get a specific user's license by product SKU.” (GET /apps/licensing/v1/product/:productId/sku/:skuId/user/:userId), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Enterprise License Manager API?

The Google Enterprise License Manager API lets you manage Google Workspace and related licenses for all users of a customer that you manage. It is listed under Developer tools and has 7 endpoints.

Who publishes the Enterprise License Manager API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Enterprise License Manager API?

Requests go to https://licensing.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Enterprise License Manager API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.

How many endpoints does the Enterprise License Manager API have?

7 operations on 4 paths (3 GET, 1 PUT, 1 POST, 1 PATCH, 1 DELETE). The largest groups are licenseAssignments.

Is forking the Enterprise License Manager API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.