AI-generated Key Takeaways
-
Locates an enterprise using its domain name, specifically for those created through Google's process.
-
Requires authorization with the
https://www.googleapis.com/auth/androidenterprise
scope. -
The request is made using an HTTP GET to the URL
https://www.googleapis.com/androidenterprise/v1/enterprises
with the domain name as a required query parameter. -
Primarily used for enterprises created via the Google-initiated creation flow; enterprises created via EMM-initiated flow already possess the enterprise ID.
-
Upon successful execution, the response provides an
enterprisesListResponse
containing details of the located enterprise.
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.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises
Parameters
Parameter name | Value | Description |
---|---|---|
Required query parameters | ||
domain |
string |
The exact primary domain name of the enterprise to look up. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/androidenterprise |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "androidenterprise#enterprisesListResponse", "enterprise": [ enterprises Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
enterprise[] |
list |
An enterprise. | |
kind |
string |
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterprisesListResponse" . |