Enterprises: setAccount

設定將以企業身分向 API 進行驗證的帳戶。

要求

HTTP 要求

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

參數

參數名稱 說明
路徑參數
enterpriseId string 企業的 ID。

授權

此要求需要以下範圍的授權:

範圍
https://www.googleapis.com/auth/androidenterprise

詳情請參閱驗證和授權頁面。

要求主體

在要求內容中,請按照下列結構提供資料:

{
  "kind": "androidenterprise#enterpriseAccount",
  "accountEmail": string
}
資源名稱 說明 Notes
accountEmail string 服務帳戶的電子郵件地址。
kind string

回應

如果成功的話,這個方法會傳回回應內文,其結構如下:

{
  "kind": "androidenterprise#enterpriseAccount",
  "accountEmail": string
}
屬性名稱 說明 Notes
accountEmail string 服務帳戶的電子郵件地址。
kind string