调用DeleteCen接口删除云企业网实例。

前提条件

在删除云企业网实例前,请确保该实例下不存在带宽包和网络实例:

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DeleteCen

要执行的操作,取值:DeleteCen

CenId String cen-7qthudw0ll6jmc****

云企业网实例ID。

返回数据

名称 类型 示例值 描述
RequestId String 5903EE99-D542-4E14-BC65-AAC1CB2D3D03

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=DeleteCen
&CenId=cen-7qthudw0ll6jmc****
&<公共请求参数>

正常返回示例

XML格式

<DeleteCenResponse>
      <RequestId>5903EE99-D542-4E14-BC65-AAC1CB2D3D03</RequestId>
</DeleteCenResponse>

JSON格式

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

错误码

HttpCode 错误码 错误信息 描述
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. 禁止删除云企业网实例,因为云企业网实例中还有自定义路由条目。

访问错误中心查看更多错误码。