All Products
Search
Document Center

Cloud Enterprise Network:WithdrawPublishedRouteEntries

Last Updated:Jul 19, 2024

Withdraws the routes of a virtual private cloud (VPC) or a virtual border router (VBR) from a Cloud Enterprise Network (CEN) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
CenIdstringYes

The ID of the CEN instance.

cen-sxjfjkjfkjfiein****
ChildInstanceIdstringYes

The ID of the attached network instance.

vpc-rj9gt5nll27onu7****
ChildInstanceTypestringYes

The type of the attached network instance.

Set the value to VPC, which indicates a virtual private cloud (VPC).

VPC
ChildInstanceRegionIdstringYes

The ID of the region where the attached network instance is created.

cn-hangzhou
ChildInstanceRouteTableIdstringYes

The ID of the route table of the attached network instance.

vtb-bp174d1gje79u1g4t****
DestinationCidrBlockstringYes

The destination CIDR block of the route that you want to withdraw.

172.XX.XX.0/24

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

FBDB18D8-E91E-4978-8D6C-6E2E3EE10133

Examples

Sample success responses

JSONformat

{
  "RequestId": "FBDB18D8-E91E-4978-8D6C-6E2E3EE10133"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidOperation.UnsupportnexthopTypeThe specified next hop type is not supported by this operation.The specified next hop type is not supported by this operation.
400InvalidOperation.NotFoundRouteYou cannot query the system routing information of the specified instance.You cannot query the system routing information of the specified instance.
400ParameterIllegal.CenInstanceIdThe parameter of CEN instance id is illegal.The error message returned because the specified ID of the CEN instance is invalid.
400ParameterIllegal.ChildInstanceRegionIdThe parameter of child instance region id is illegal.The error message returned because the ID of the region where the network instance is created is invalid.
400ParameterIllegal.ChildInstanceTypeThe parameter of child instance type is illegal.The error message returned because the specified type of network instance is invalid.
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.
404Instance.NotExistThe instance is not exist.The error message returned because the specified instance does not exist.
409InvalidOperation.ChildInstanceStatusThe child-instance is not in a valid state for the operation.The error message returned because the operation is not allowed when the network instance is being processed. Try again later.
409InvalidOperation.CenInstanceStatusThe CEN instance is not in a valid state for the operation.The error message returned because the status of the CEN instance does not support this operation.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history