全部產品
Search
文件中心

Resource Management:DeleteResourceShare - 刪除共用單元

更新時間:Dec 21, 2025

刪除共用單元。

介面說明

刪除共用單元後,與該共用單元關聯的所有資源使用者都將失去對共用資源的存取權限。刪除共用單元不會刪除共用資源。

已成功刪除的共用單元,其狀態為Deleted,該條記錄會在 48~96 小時內被系統自動刪除。

本文將提供一個樣本,刪除地區cn-hangzhou下的共用單元rs-qSkW1HBY****

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

ResourceShareId

string

共用單元 ID。

rs-qSkW1HBY****

關於公用請求參數的詳情,請參見公用參數

返回參數

名稱

類型

描述

樣本值

object

返回結果。

RequestId

string

請求 ID。

A627EE2A-223D-4E1F-A954-394686AEA916

樣本

正常返回樣本

JSON格式

{
  "RequestId": "A627EE2A-223D-4E1F-A954-394686AEA916"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 MissingParameter.ResourceShareId You must specify ResourceShareId.
400 InvalidParameter.ResourceShareId The ResourceShareId is invalid.
400 InvalidParameter The specified parameter is invalid.
404 EntityNotExists.ResourceShare The resource share does not exist in the current account.
409 ResourceShareStatusMismatchAction The status of the resource share does not allow the specified operation.
409 DeleteResourceShareConflict You cannot delete a resource share while there are unfinished tasks.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情