Deletes the connection to a cloud service.
Usage notes
DeleteRouteServiceInCen is an asynchronous operation. After you send a request, the system returns the request ID but the operation is still being performed in the system background. You can call DescribeRouteServicesInCen to query the status of the connection to a cloud service.
- If a cloud service is in the Deleting state, the connection to the cloud service is being deleted. You can query the connection but you cannot perform other operations.
- If no connection to a cloud service can be found, the connection to the cloud service is deleted.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteRouteServiceInCen |
The operation that you want to perform. Set the value to DeleteRouteServiceInCen. |
CenId | String | Yes | cen-7qthudw0ll6jmc**** |
The ID of the Cloud Enterprise Network (CEN) instance. |
Host | String | Yes | 100.118.28.0/24 |
The IP addresses or CIDR blocks of the cloud service. |
HostRegionId | String | Yes | cn-hangzhou |
The ID of the region in which the cloud service is deployed. |
AccessRegionId | String | Yes | cn-hangzhou |
The ID of the region in which the network instance of the cloud service that you want to access is deployed. You can call the DescribeRegions operation to query the most recent region list. |
HostVpcId | String | No | vpc-bp1t36rn9l53iwbsf**** |
The ID of the virtual private cloud (VPC) that is associated with the cloud service. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2315DEB7-5E92-423A-91F7-4C1EC9AD97C3 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteRouteServiceInCen
&CenId=cen-7qthudw0ll6jmc****
&Host=100.118.28.0/24
&HostRegionId=cn-hangzhou
&AccessRegionId=cn-hangzhou
&HostVpcId=vpc-bp1t36rn9l53iwbsf****
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteRouteServiceInCenResponse>
<RequestId>2315DEB7-5E92-423A-91F7-4C1EC9AD97C3</RequestId>
</DeleteRouteServiceInCenResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}
Error codes
For a list of error codes, visit the API Error Center.