Deletes an aggregate route.
Operation description
Before you delete an aggregation route, make sure that redundant routes exist in the current network. Otherwise, service interruptions may occur.
After you delete an aggregation route, the system automatically withdraws the aggregation route that has been propagated to Virtual Private Cloud (VPC) instances and re-propagates the specific routes whose destination CIDR blocks fall within the CIDR block of the aggregation route to the VPC instances.
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 Enterprise Edition transit router route table. |
vtb-6ehgc262hr170qgyc**** |
| TransitRouteTableAggregationCidr |
string |
Yes |
The destination CIDR block of the aggregate route. |
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 client token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the RequestId value as the ClientToken value. The RequestId value is different for each API request. |
02fb3da4-130e-11e9-8e44-001**** |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run for this deletion request, including permission and instance status verification. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
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. |
| 400 | InvalidCidrBlock | The transitRouteTableAggregationCidr is invalid. | The TransitRouteTableAggregationCidr parameter is invalid. |
| 400 | InvalidParameter.TransitRouteTableId | The specified parameter TransitRouteTableId is invalid. | The parameter TransitRouteTableId entered is illegal. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.