Deletes an aggregate route.
Operation description
Before you delete an aggregate route, make sure that your network has a redundant route to prevent service interruptions.
After an aggregate route is deleted, the aggregate route is automatically withdrawn from virtual private clouds (VPCs). Specific routes that fall within the aggregate route are advertised to the VPCs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteTransitRouteTableAggregation |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TransitRouteTableId |
string |
Yes |
The ID of the route table of the Enterprise Edition transit router. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationCidr |
string |
Yes |
The destination CIDR block of the aggregate route. Note
The following CIDR blocks are not supported:
|
192.168.10.0/24 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request. |
02fb3da4-130e-11e9-8e44-001**** |
| DryRun |
boolean |
No |
Specifies whether to perform only a dry run, without performing the actual request. Default values:
|
false |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Examples
Success response
JSON format
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InstanceNotExist.AggregationRoute | This aggregation route is not exist. | The error message returned because the aggregated route does not exist. |
| 400 | InstanceNotExist.TransitRouteTable | The transitRouter route table is not exist. | The error message returned because the specified transit router route table does not exist. |
| 400 | IncorrectStatus.TransitRouteTable | The status of transitRouter route table is invalid. | The error message returned because the status of the transit router route table does not support this operation. Try again later. |
| 400 | InstanceNotExist.TransitRouter | The transitRouter is not exist. | The error message returned because the specified transit router does not exist. |
| 400 | IncorrectStatus.TransitRouter | The status of transitRouter is invalid. | The error message returned because the status of the transit router does not support this operation. Try again later. |
| 400 | IllegalParam.TransitRouteTableAggregationCidr | The param TransitRouteTableAggregationCidr is illegal. | |
| 400 | InstanceNotExist.TrRouteTableAggregationCidr | The aggregation route does not exist. | The aggregation route does not exist. |
| 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. |
| 400 | IncorrectStatus.TransitRouteTableAggregationCidr | Route table aggregation cidr status is invalid. | The error message returned because the status of The aggregate route does not support the operation. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.