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
}
属性名称 说明 备注
accountEmail string 服务帐号的电子邮件地址。
kind string

响应

如果成功,此方法将返回采用以下结构的响应正文:

{
  "kind": "androidenterprise#enterpriseAccount",
  "accountEmail": string
}
属性名称 说明 备注
accountEmail string 服务帐号的电子邮件地址。
kind string