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.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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.