enterprises

POST /androidenterprise/v1/enterprises/enroll

Changed on

Enrolls an enterprise with the calling EMM.

Request

  • Base URL
    https://androidenterprise.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/androidenterprise
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/androidenterprise
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

tokenstring required

Required. The token provided by the enterprise to register the EMM.

Request body

enterpriseType'enterpriseTypeUnspecified' | 'managedGoogleDomain' | 'managedGooglePlayAccountsEnterprise'

The type of the enterprise.

idstring

The unique ID for the enterprise.

managedGoogleDomainType'managedGoogleDomainTypeUnspecified' | 'typeTeam' | 'typeDomain'

The type of managed Google domain

namestring

The name of the enterprise, for example, "Example, Inc".

primaryDomainstring

The enterprise's primary domain, such as "example.com".

Response

Successful response

enterpriseType'enterpriseTypeUnspecified' | 'managedGoogleDomain' | 'managedGooglePlayAccountsEnterprise'

The type of the enterprise.

idstring

The unique ID for the enterprise.

managedGoogleDomainType'managedGoogleDomainTypeUnspecified' | 'typeTeam' | 'typeDomain'

The type of managed Google domain

namestring

The name of the enterprise, for example, "Example, Inc".

primaryDomainstring

The enterprise's primary domain, such as "example.com".

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • warning

      removed the request property /

    • warning

      removed the optional property / from the response with the status