Method: domains.delete

Deletes a domain from the user's account. 如果網域並非由使用者註冊,則會傳回 NOT_FOUND。

HTTP 要求

DELETE https://gmailpostmastertools.googleapis.com/v2beta/{name=domains/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

必填。要刪除的網域。

要求主體

要求主體必須為空白。

回應主體

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

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/postmaster
  • https://www.googleapis.com/auth/postmaster.domain

詳情請參閱授權指南