Modifies the name and description of a route table.


By using OpenAPI Explorer, you can easily debug APIs, automatically generate SDK code examples, and quickly search for APIs.

Request parameters

Parameter Type Required? Example value Description
Action String  Yes  ModifyRouteTableAttributes

The name of this action.  Value:


RegionId String  Yes  cn-hangzhou

The region ID of the VPC to which the route table belongs.

To query the region ID, call DescribeRegions.

RouteTableId String  Yes  vtb-bp145q7glnuzdvzu21pom The ID of the route table.
Description String  No This is my route table.

The description of the route table.

The description must be 2 to 256 characters in length. It must start with a letter, but cannot start with http:// or https://.

RouteTableName String  No doctest

The name of the route table.

The name must be 2 to 128 characters in length. It can contain letters, numbers, periods (.), underlines (_), and hyphens (-). It must start with an English letter. The name cannot start with http:// or https://.

Response parameters

Parameter Type Example value Description
RequestId String 62172DD5-6BAC-45DF-8D44-xxxxxxxx The ID of the request.


Request example

Response example
  • XML format

  • JSON format


Error codes

HTTP status code Error code Error message Description
403 Forbbiden User not authorized to operate on the specified resource. You are not authorized to operate this resource.

See common error codes