Modifies the name and description of a custom route entry.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyRouteEntry |
The operation that you want to perform. Set the value to ModifyRouteEntry. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the route entry belongs. You can call the DescribeRegions operation to query region IDs. |
RouteEntryId | String | Yes | rte-acfvgfsghfdd**** |
The ID of the custom route entry. |
RouteEntryName | String | No | EntryName |
The name of the route entry. The name must be 2 to 128 characters in length and start with a letter. The name can
contain letters, digits, periods (.), underscores (_), and hyphens (-). The name cannot
start with |
Description | String | No | EntryDescription |
The description of the route entry. The description must be 2 to 256 characters in length. The description must start
with a letter but cannot start with |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 861E6630-AEC0-4B2D-B214-6CB5E44B7F04 |
The ID of the request. |
Examples
Sample requests
http(s)://vpc.aliyuncs.com/? Action=ModifyRouteEntry
&RegionId=cn-hangzhou
&RouteEntryId=rte-acfvgfsghfdd****
&<Common request parameters>
Sample success responses
XML
format
<ModifyRouteEntryResponse>
<RequestId>861E6630-AEC0-4B2D-B214-6CB5E44B7F04</RequestId>
</ModifyRouteEntryResponse>
JSON
format
{
"RequestId": "861E6630-AEC0-4B2D-B214-6CB5E44B7F04"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
403 | Forbbiden | User not authorized to operate on the specified resource. | The error message returned because you are not authorized to perform this operation on the specified resource. You can apply for the required permissions and try again. |
For a list of error codes, visit the API Error Center.