ReplaceRoutes

Last Updated At: 2026-08-02 00:06:20

1. Interface Description

Interface request domain name: vpc.api3.convergecloud.com.

This API (ReplaceRoutes) is used to modify a specified routing policy (Route) based on the touting policy ID (RouteId), supporting batch modifications.

Default interface request rate limit: 100 times per second.

Interface update time: 2022-10-26 03:01:51.

The interface only verifies the signature but does not authenticate.

2. Input Parameters

The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

Parameter name Required Allow NULL Type Description
Action Yes No String Public parameter, The value of this interface: ReplaceRoutes
Version Yes No String Public parameter, The value of this interface: 2017-03-12
Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
RouteTableId Yes No String Routing table instance ID, e.g., rtb-azd4dt1c.
Example: rtb-azd4dt1c
Routes Yes No Array of Route Routing policy object. It is necessary to specify the routing policy ID (RouteId).
Example:View

3. Output Parameters

Parameter name Type Description
OldRouteSet OldRouteSet Old route information
Example:View
NewRouteSet NewRouteSet New route information
Example:View
RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

4. Error Code

The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

Error Code Description
InvalidParameterValue The parameter value is invalid.
UnsupportedOperation Operation unsupported.
LimitExceeded Exceeded the limit
InvalidParameterValue.Duplicate Input Parameters are repetitive.
InvalidParameterValue.VpcCidrConflict The destination IP range conflicts with the current VPC's CIDR.
InvalidParameterValue.CidrNotInPeerVpc The destination IP range is not within the CIDR range of the peer VPC.
UnsupportedOperation.SystemRoute System route. The operation is prohibited.
UnknownParameter.WithGuess This parameter cannot be recognized. Similar parameters can be used for replacement.
UnsupportedOperation.Ecmp ECMP is not supported.