Deletes a CCN instance.

Note Make sure the Cloud Connect Network (CCN) instance to delete is not attached to any Smart Access Gateway instance or Cloud Enterprise Network (CEN) instance.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
CcnId String Yes ccn-bxuau4ezctts2*****

The ID of the CCN instance.

Action String No DeleteCloudConnectNetwork

The name of this action.

Value: DeleteCloudConnectNetwork

RegionId String No cn-hangzhou

The region to which the CCN instance belongs.

Response parameters

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

The ID of the request.

Examples

Request example


https://smartag.cn-shanghai.aliyuncs.com/?Action=DeleteCloudConnectNetwork
&CcnId=ccn-bxuau4ezctts2kfxyr
&CommonParameters

Response examples

XML format

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

JSON format

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

Error codes

HTTP status code Error code Error message  Description
403 MissingParameter The input parameter is missing, please check your input. The required parameters are missing.
403 InvalidId.CCN Invalid cloud connect network id. The specified CCN instance ID is invalid.
403 AlreadyBound.CEN This instance has been bound, please unbind first. The specified CCN instance is already attached to a CEN instance.
403 AlreadyBound.SMARTAG This instance has been bound, please unbind smart access gateway first. The specified CCN instance is already attached to a Smart Access Gateway instance.
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource.

See common error codes.