Deletes a Cloud Enterprise Network (CEN) instance.
Prerequisites
Before you delete a CEN instance, make sure that no network instances are attached to and no bandwidth plans are associated with the CEN instance.
-
For more information about how to detach a network instance from a CEN instance, see DetachCenChildInstance.Note For more information about how to detach a virtual private cloud (VPC) and a virtual border router (VBR) from an Enterprise Edition transit router, see DeleteTransitRouterVpcAttachment and DeleteTransitRouterVbrAttachment.
- For more information about how to disassociate a bandwidth plan from a CEN instance, see UnassociateCenBandwidthPackage.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DeleteCen |
The operation that you want to perform. Set the value to DeleteCen. |
CenId | String | Yes | cen-7qthudw0ll6jmc**** |
The ID of the CEN instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 5903EE99-D542-4E14-BC65-AAC1CB2D3D03 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteCen
&CenId=cen-7qthudw0ll6jmc****
&<Common request parameters>
Sample success responses
XML
format
<DeleteCenResponse>
<RequestId>5903EE99-D542-4E14-BC65-AAC1CB2D3D03</RequestId>
</DeleteCenResponse>
JSON
format
{
"RequestId":"5903EE99-D542-4E14-BC65-AAC1CB2D3D03"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | OperationFailed.DeleteCenWithCustomRouteTable | Operation failed because you are not allowed to delete the CEN with the custom transit router route table. | The error message returned because you are not allowed to delete the CEN instance. Custom route tables are created on the CEN instance. |
400 | OperationFailed.DeleteCenWithRouteEntry | Operation failed because you are not allowed to delete the CEN with the transit router route entry. | The error message returned because you are not allowed to delete the CEN instance. Custom route entries are created on the CEN instance. |
For a list of error codes, visit the API Error Center.