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}」)。

回應主體

如果成功,回應主體會是空白的 JSON 物件。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱OAuth 2.0 Overview。