全部產品
Search
文件中心

Cloud Enterprise Network:DeleteCen - 刪除指定的雲企業網執行個體

更新時間:Apr 21, 2026

調用DeleteCen介面刪除雲企業網執行個體。

介面說明

DeleteCen 介面屬於非同步介面,即系統會先返回一個 RequestId,但云企業網執行個體並未刪除完成,系統背景刪除任務仍在進行。您可以調用 DescribeCens 介面查詢雲企業網執行個體的狀態。

  • 當雲企業網執行個體處於 Deleting 狀態時,表示雲企業網執行個體正在刪除中,在該狀態下,您只能對雲企業網執行個體執行查詢操作,不能執行其他動作。

  • 當查詢不到指定的雲企業網執行個體時,表示雲企業網執行個體刪除完成。

前提條件

在刪除雲企業網執行個體前,請確保雲企業網執行個體下不存在頻寬包,且雲企業網執行個體的轉寄路由器下不存在網路執行個體串連和自訂路由表:

調試

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

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

cen:DeleteCen

delete

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

請求參數

名稱

類型

必填

描述

樣本值

CenId

string

雲企業網執行個體 ID。

cen-7qthudw0ll6jmc****

返回參數

名稱

類型

描述

樣本值

object

RequestId

string

請求 ID。

5903EE99-D542-4E14-BC65-AAC1CB2D3D03

樣本

正常返回樣本

JSON格式

{
  "RequestId": "5903EE99-D542-4E14-BC65-AAC1CB2D3D03"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 OperationFailed.DeleteCenWithCustomRouteTable Operation failed because you are not allowed to delete the CEN with the custom transit router route table. 禁止刪除雲企業網執行個體,因為雲企業網執行個體還有自訂路由表。
400 OperationFailed.DeleteCenWithRouteEntry Operation failed because you are not allowed to delete the CEN with the transit router route entry. 禁止刪除雲企業網執行個體,因為雲企業網執行個體中還有自訂路由條目。
400 OperationFailed.MulticastDomainExist Operation is invalid because multicast domain exists. 組播域存在,請先刪除群組播域後再刪除轉寄路由器。
400 OperationFailed.PrefixListAssociationExist Operation is invalid because prefixList association exists. TR存在關聯的路由首碼,請刪除後重試。
400 OperationFailed.AggregationRouteExist Operation is invalid because transit router aggregation route exists. TR存在彙總路由配置,請刪除後重試。
400 OperationFailed.TrafficMarkingPolicyExist Operation is invalid because transit router traffic marking policy exists. TR存在流量標記策略,請刪除後重試。
400 OperationUnsupported.action This action is not support. 當前地區不支援該操作。
400 InvalidParameter Invalid parameter. 參數不合法。
400 Unauthorized The AccessKeyId is unauthorized. 帳號無許可權操作。
400 OperationFailed.TrafficQosPolicyExist Operation is invalid because traffic qos policy exists. 存在流量調度策略,無法進行該操作,請刪除後重試。
400 InvalidOperation.RelatedEcrExists Operation is invalid due to related ECR exists.

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

變更歷史

更多資訊,參考變更詳情