Method: locations.transfer

将营业地点从用户拥有的账号迁移到同一用户管理的另一个账号。用户必须是该营业地点当前关联的帐号的所有者,且必须至少是目标帐号的管理员。

HTTP 请求

POST https://mybusinessaccountmanagement.googleapis.com/v1/{name=locations/*}:transfer

网址采用 gRPC 转码语法。

路径参数

参数
name

string

必需。要转让的营业地点的名称。locations/{locationId}.

请求正文

请求正文中包含结构如下的数据:

JSON 表示法
{
  "destinationAccount": string
}
字段
destinationAccount

string

必需。要将营业地点转移到的帐号资源的名称(例如“accounts/{account}”)。

响应正文

如果成功,则响应正文为空。

授权范围

需要以下 OAuth 作用域:

  • https://www.googleapis.com/auth/business.manage

有关详情,请参阅 OAuth 2.0 概览