Method: projects.locations.instances.delete

標記要刪除的DatabaseInstance 。 DatabaseInstance 將被設定為DELETED狀態 20 天,並將在 30 天內清除。預設資料庫無法刪除。已刪除資料庫執行個體的 ID 可能永遠無法復原或重新使用。僅當資料庫已處於DISABLED狀態時才可以刪除該資料庫。

HTTP請求

DELETE https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}

URL 使用gRPC 轉碼語法。

路徑參數

參數
name

string

資料庫實例的完全限定資源名稱,格式為: projects/{project-number}/locations/{location-id}/instances/{database-id}

授權需要對指定資源name具有以下IAM權限:

  • firebasedatabase.instances.delete

請求正文

請求內文必須為空。

響應體

如果成功,回應正文將包含DatabaseInstance的實例。

授權範圍

需要以下 OAuth 範圍之一:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/firebase

有關詳細信息,請參閱身份驗證概述