2015-10-07 22 views
2

我目前使用 gcloud preview app modules delete <module_name> --version <version_to_delete>帶有服務帳戶來清理管理vms的舊模塊版本。直到上週,這一直很好。我現在得到下面的錯誤。通過gcloud預覽應用程序刪除模塊的403狀態

ERROR: (gcloud.preview.app.modules.delete) Error Response: [403] Project has not enabled the API. Please use Google Developers Console to activate the API for your project. 
Details: [[{"@type": "type.googleapis.com/google.rpc.Help", "links": [{"description": "Google developer console API activation", "url": "https://console.developers.google.com/project/<project_id>/apiui/api"}]}]] 

更多細節:

  1. 使用來自谷歌我的個人帳戶允許我刪除模塊版本
  2. 我當前設置的服務帳戶gcloud auth activate-service-account <some_id>@developer.gserviceaccount.com --key-file gcloud.json
+1

的AppEngine隊正在調查這一點。 –

回答

3

您必須啓用「 App Engine Admin API「,以便使用服務帳戶刪除模塊:

  1. 轉到https://console.developers.google.com/
  2. 導航到API和驗證]> [API的
  3. 查找並啓用 「App Engine管理員API」
相關問題