Enterprises: setAccount

Sets the account that will be used to authenticate to the API as the enterprise.

Request

HTTP request

PUT https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/account

Parameters

Parameter name Value Description
Path parameters
enterpriseId string The ID of the enterprise.

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

In the request body, supply data with the following structure:

{
  "kind": "androidenterprise#enterpriseAccount",
  "accountEmail": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterpriseAccount".
accountEmail string The email address of the service account.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "androidenterprise#enterpriseAccount",
  "accountEmail": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "androidenterprise#enterpriseAccount".
accountEmail string The email address of the service account.

Оставить отзыв о...

Текущей странице
Google Play EMM API