Deletes the configuration of an Alibaba Cloud service from a Basic Edition transit router.
Operation description
DeleteRouteServiceInCen is an asynchronous operation. After you send a request, the system returns a RequestId while the deletion continues in the background. A request ID is returned even if you specify an invalid parameter, in which case the configuration is not deleted. Call DescribeRouteServicesInCen to query the status of the Alibaba Cloud service.
-
If the Alibaba Cloud service is in the Deleting state, you can only query its configuration, not perform other operations.
-
If the Alibaba Cloud service configuration is not found, it has been deleted.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteRouteServiceInCen |
delete |
*CenInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
The ID of the Cloud Enterprise Network (CEN) instance. |
cen-7qthudw0ll6jmc**** |
| Host |
string |
Yes |
The IP address or CIDR block of the Alibaba Cloud service. |
100.118.28.0/24 |
| HostRegionId |
string |
Yes |
The region ID of the Alibaba Cloud service. You can call DescribeRegions to query region IDs. |
cn-hangzhou |
| AccessRegionId |
string |
Yes |
The region ID from which the Alibaba Cloud service is accessed. |
cn-hangzhou |
| HostVpcId |
string |
No |
The ID of the VPC that is associated with the Alibaba Cloud service. |
vpc-bp1t36rn9l53iwbsf**** |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2315DEB7-5E92-423A-91F7-4C1EC9AD97C3 |
Examples
Success response
JSON format
{
"RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidOperation.CloudRouteNumberInvalid | Cloud route number is invalid | The error message returned because the number of cloud service routes is invalid. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
| 403 | InvalidOperation.CloudRouteStatusNotAllow | Operation 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.