Deletes a Cloud Connect Network (CCN) instance.

Note Make sure that the CCN instance you want to delete is not associated with a Smart Access Gateway (SAG) instance or a Cloud Enterprise Network (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
CcnId String Yes ccn-bxuau4ezctts2*****

The ID of the CCN instance.

RegionId String No cn-hangzhou

The ID of the region where the CCN instance is deployed.

Action String Yes DeleteCloudConnectNetwork

The operation that you want to perform. Set the value to DeleteCloudConnectNetwork.

Response parameters

Parameter Type Example Description
RequestId String 0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?CcnId=ccn-bxuau4ezctts2*****
&RegionId=cn-hangzhou
&Action=DeleteCloudConnectNetwork
&Common request parameters

Sample success response

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DeleteCloudConnectNetworkResponse>
    <RequestId>0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE</RequestId>
</DeleteCloudConnectNetworkResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "0BAAF2B9-88B8-4574-BDBE-102A90EE3FEE"
}

Error codes

HttpCode Error code Error message Description
403 MissingParameter The input parameter is missing, please check your input. The error message returned because one or more required parameters are not set. Check whether you have set all the required parameters.
403 InvalidId.CCN Invalid cloud connect network id. The error message returned because the specified CCN instance ID is invalid.
403 AlreadyBound.CEN This instance has been bound, please unbind first. The error message returned because the specified SAG instance is associated with another CEN instance. Disassociate the SAG instance from the CEN instance first.
403 AlreadyBound.SMARTAG This instance has been bound, please unbind smart access gateway first. The error message returned because the specified CCN instance is associated with an SAG instance. Disassociate the SAG instance from the CCN instance first.
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permissions to manage the specified resource.

For a list of error codes, see Service error codes.