Deletes a route entry from a network instance that is attached to a Cloud Network Enterprise (CEN) instance.

Limits

  • By default, the DeleteCenChildInstanceRouteEntryToCen operation is unavailable. To call this operation, submit a ticket.
  • You cannot delete a route entry from an Enterprise Edition transit router by calling the DeleteCenChildInstanceRouteEntryToCen operation.

Debugging

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 No DeleteCenChildInstanceRouteEntryToCen

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

CenId String Yes cen-7febra5nqj7jjh****

The ID of the CEN instance.

ChildInstanceId String Yes vpc-k1alm2jbuwibhxtx2****

The ID of the network instance.

ChildInstanceRegionId String Yes ap-southeast-5

The ID of the region where the network instance is deployed.

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

ChildInstanceType String Yes VPC

The type of the attached network instance. Valid values:

  • VPC: a virtual private cloud (VPC)
  • VBR: a virtual border router (VBR)
DestinationCidrBlock String Yes 192.168.22.0/24

The destination CIDR block of the route entry.

Specify the value of this parameter in CIDR notation. Example: 192.168.10.0/24.

RouteTableId String Yes vtb-k1aa8ulqs39f86op8****

The ID of the route table of the network instance.

ChildInstanceAliUid Long No 1787100000000000

The ID of the Alibaba Cloud account to which the network instance belongs.

Note If the network instance belongs to another Alibaba Cloud account, this parameter is required.

Response parameters

Parameter Type Example Description
RequestId String C05000A4-2FC5-5B2C-9527-954044DE2CF3

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteCenChildInstanceRouteEntryToCen
&CenId=cen-7febra5nqj7jjh****
&ChildInstanceId=vpc-k1alm2jbuwibhxtx2****
&ChildInstanceRegionId=ap-southeast-5
&ChildInstanceType=VPC
&DestinationCidrBlock=192.168.22.0/24
&RouteTableId=vtb-k1aa8ulqs39f86op8****
&<Common request parameters>

Sample success responses

XML format

<DeleteCenChildInstanceRouteEntryToCenResponse>
  <RequestId>C05000A4-2FC5-5B2C-9527-954044DE2CF3</RequestId>
</DeleteCenChildInstanceRouteEntryToCenResponse>

JSON format

{
    "RequestId": "C05000A4-2FC5-5B2C-9527-954044DE2CF3"
}

Error codes

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