List

Looks up an enterprise by domain name

1 variables
8 variables

Looks up an enterprise by domain name. This is only supported for enterprises created via the Google-initiated creation flow. Lookup of the id is not needed for enterprises created via the EMM-initiated flow since the EMM learns the enterprise ID in the callback specified in the Enterprises.generateSignupUrl call

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Manage corporate Android devices

Input

This building block consumes 1 input parameters

  = Parameter name
  = Format

domain STRING Required

The exact primary domain name of the enterprise to look up

Output

This building block provides 8 output parameters

  = Parameter name
  = Format

enterprise[] OBJECT

An Enterprises resource represents the binding between an EMM and a specific organization. That binding can be instantiated in one of two different ways using this API as follows:

  • For Google managed domain customers, the process involves using Enterprises.enroll and Enterprises.setAccount (in conjunction with artifacts obtained from the Admin console and the Google API Console) and submitted to the EMM through a more-or-less manual process.
  • For managed Google Play Accounts customers, the process involves using Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction with the managed Google Play sign-up UI (Google-provided mechanism) to create the binding without manual steps. As an EMM, you can support either or both approaches in your EMM console. See Create an Enterprise for details.

enterprise[].administrator[] OBJECT

This represents an enterprise admin who can manage the enterprise in the managed Google Play store

enterprise[].administrator[].email STRING

The admin's email address

enterprise[].id STRING

The unique ID for the enterprise

enterprise[].kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprise"

enterprise[].name STRING

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

enterprise[].primaryDomain STRING

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

kind STRING

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprisesListResponse"