All Products
Search
Document Center

Cloud Enterprise Network:DeleteRouteServiceInCen

Last Updated:Oct 21, 2024

Deletes the configuration of a cloud service connected to a Basic Edition transit router.

Operation description

DeleteRouteServiceInCen is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. If the request parameters are invalid, the system returns a request ID, but the cloud service configuration is not deleted. You can call DescribeRouteServicesInCen to query the status of the task.

  • If a cloud service is in the Deleting state, the cloud service configuration is being deleted. In this case, you can only query the cloud service configuration and cannot perform other operations.
  • If the specified cloud service configuration cannot be found, the cloud service configuration is deleted.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CenIdstringYes

The ID of the CEN instance.

cen-7qthudw0ll6jmc****
HoststringYes

The IP addresses or CIDR blocks of the cloud service.

100.118.28.0/24
HostRegionIdstringYes

The region ID of the cloud service.

You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
AccessRegionIdstringYes

The ID of the region where the cloud service is accessed.

cn-hangzhou
HostVpcIdstringNo

The ID of the virtual private cloud (VPC) that is associated with the cloud service.

vpc-bp1t36rn9l53iwbsf****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

2315DEB7-5E92-423A-91F7-4C1EC9AD97C3

Examples

Sample success responses

JSONformat

{
  "RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidOperation.CloudRouteNumberInvalidCloud route number is invalidThe error message returned because the number of cloud service routes is invalid.
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.
403InvalidOperation.CloudRouteStatusNotAllowOperation is prohibited because status of cloud route is invalid.The error message returned because the status of the specified cloud service does not support this operation. Try again later.

For a list of error codes, visit the Service error codes.