Google Android Grouplicenses API

The Grouplicenses API from Google Android — 2 operation(s) for grouplicenses.

GitHub OpenAPI

Operations 2

GET /androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses List grouplicenses #
GET /androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId} Get grouplicenses #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-android:google-android-grouplicenses-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-android-grouplicenses-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play EMM Grouplicenses API
  version: v1
  description: Generated from Google's published Discovery document for Google Play EMM API (androidenterprise v1, revision 20261110). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://androidenterprise.googleapis.com
tags:
- name: Grouplicenses
paths:
  /androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses:
    get:
      operationId: androidenterprise.grouplicenses.list
      summary: List grouplicenses
      description: Retrieves IDs of all products for which the enterprise has a group license. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
      parameters:
      - name: enterpriseId
        in: path
        required: true
        description: The ID of the enterprise.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupLicensesListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/androidenterprise
      - apiKey: []
      tags:
      - Grouplicenses
  /androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}:
    get:
      operationId: androidenterprise.grouplicenses.get
      summary: Get grouplicenses
      description: Retrieves details of an enterprise's group license for a product. **Note:** This item has been deprecated. New integrations cannot use this method and can refer to our new recommendations.
      parameters:
      - name: enterpriseId
        in: path
        required: true
        description: The ID of the enterprise.
        schema:
          type: string
      - name: groupLicenseId
        in: path
        required: true
        description: The ID of the product the group license is for, e.g. "app:com.google.android.gm".
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupLicense'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/androidenterprise
      - apiKey: []
      tags:
      - Grouplicenses
components:
  schemas:
    GroupLicensesListResponse:
      type: object
      properties:
        groupLicense:
          description: A group license for a product approved for use in the enterprise.
          items:
            $ref: '#/components/schemas/GroupLicense'
          type: array
    GroupLicense:
      type: object
      description: ' *Deprecated:* New integrations cannot use this method and can refer to our new recommendations '
      properties:
        permissions:
          description: 'The permission approval status of the product. This field is only set if the product is approved. Possible states are: - "currentApproved", the current set of permissions is approved, but additional permissions will require the administrator to reapprove the product (If the product was approved without specifying the approved permissions setting, then this is the default behavior.), - "needsReapproval", the product has unapproved permissions. No additional product licenses can be assigned until the product is reapproved, - "allCurrentAndFutureApproved", the current permissions are approved and any future permission updates will be automatically approved without administrator review. '
          type: string
          enum:
          - currentApproved
          - needsReapproval
          - allCurrentAndFutureApproved
        productId:
          type: string
          description: The ID of the product that the license is for. For example, "app:com.google.android.gm".
        numPurchased:
          description: The number of purchased licenses (possibly in multiple purchases). If this field is omitted, then there is no limit on the number of licenses that can be provisioned (for example, if the acquisition kind is "free").
          type: integer
          format: int32
        numProvisioned:
          format: int32
          type: integer
          description: The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations.
        approval:
          description: Whether the product to which this group license relates is currently approved by the enterprise. Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections, and new entitlements to them should not normally be created.
          enum:
          - approved
          - unapproved
          type: string
        acquisitionKind:
          enum:
          - free
          - bulkPurchase
          description: How this group license was acquired. "bulkPurchase" means that this Grouplicenses resource was created because the enterprise purchased licenses for this product; otherwise, the value is "free" (for free products).
          type: string
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/androidenterprise: Manage corporate Android devices
externalDocs:
  url: https://developers.google.com/android/work/play/emm-api
x-provenance:
  method: harvested
  publisher: Google
  source: https://androidenterprise.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261110)