Deletes a route from an Enterprise Edition transit router.

Usage notes

You can delete routes only from virtual private clouds (VPCs) and virtual border routers (VBRs) whose next hop is an Enterprise Edition transit router connection, which is the connection to the network instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteCenChildInstanceRouteEntryToAttachment

The operation that you want to perform. Set the value to DeleteCenChildInstanceRouteEntryToAttachment.

ClientToken String No 02fb3da4-130e-11e9-8e44-001****

The client token that is used to ensure the idempotence of the request.

You can use the client to generate a token, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.

DryRun Boolean No false

Specifies whether to perform a precheck to check information such as the permissions and instance status. Valid values:

  • false: performs a precheck. The route is deleted after the request passes the precheck. This is the default value.
  • true: performs a precheck. The route is not deleted. If you use this value, the system checks whether the required parameters are set, and whether the request syntax is valid. If the request fails the precheck, an error message is returned. If the request passes the check, the system returns the ID of the request.
Note This parameter is not in use.
CenId String Yes cen-wgcl0ik5o8jakq****

The ID of the CEN instance.

TransitRouterAttachmentId String Yes tr-attach-r1qhupkc19iadz****

The ID of the network instance connection.

RouteTableId String Yes vtb-bp1osd9opvegfpowc****

The ID of the route table configured on the network instance.

DestinationCidrBlock String Yes

The destination CIDR block of the route.

Response parameters

Parameter Type Example Description
RequestId String 250E717B-9823-5FD8-A1C6-5714234FB825

The ID of the request.


Sample requests

&Common request parameters

Sample responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "250E717B-9823-5FD8-A1C6-5714234FB825"

Error codes

For a list of error codes, visit the API Error Center.