Modifies the name of a custom route entry.

Make the API call

You can use OpenAPI Explorer to make API calls, search for API calls, perform debugging, and generate SDK example code.

Request parameters

Parameter Type Required? Example value Description
Action String Yes ModifyRouteEntry

The name of this action. Value: ModifyRouteEntry

RegionId String Yes cn-hangzhou

The ID of the region to which the route entry belongs. To query the region ID, call DescribeRegions.

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. It must start with a letter, and cannot start with http:// or https://.

Response parameters

Parameter Type Example value Description
RequestId String 861E6630-AEC0-4B2D-B214-6CB5E44B7F04

The ID of the request.

Examples

Request example


http(s)://vpc.aliyuncs.com/? Action=ModifyRouteEntry
&RegionId=cn-hangzhou
&RouteEntryId=rte-acfvgfsghfdd****
&<CommonParameters>

Response example

XML format

<ModifyRouteEntryResponse>
    <RequestId>861E6630-AEC0-4B2D-B214-6CB5E44B7F04</RequestId>
</ModifyRouteEntryResponse>

JSON format

{
	"RequestId":"861E6630-AEC0-4B2D-B214-6CB5E44B7F04"
}

Errors

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 on this resource.

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