edit-icon download-icon


Last Updated: Apr 09, 2018


Modify the specification of a router interface.

After calling this API, go to the Order Center to complete the payment.

Note: Cannot modify the specification for the router interface in the delinquent status.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value:ModifyRouterInterfaceSpec

RegionId String Yes

The region where the router interface is located.

You can obtain the region ID by calling the DescribeRegions API.

RouterInterfaceId String Yes The ID of the router interface.
Spec String Yes

The specification of the router interface.The following are available specifications and the corresponding bandwidth:

  • Mini.2: 2 Mbps

  • Mini.5: 5 Mbps

  • Small.1: 10 Mbps

  • Small.2: 20 Mbps

  • Small.5: 50 Mbps

  • Middle.1: 100 Mbps

  • Middle.2: 200 Mbps

  • Middle.5: 500 Mbps

  • Large.1: 1000 Mbps

  • Large.2: 2000 Mbps

  • Large.5: 5000 Mbps

  • Xlarge.1: 10000 Mbps

ClientToken String No

A client token used to guarantee the idempotence of requests. This parameter value is generated by the client and must be unique. It cannot exceed 64 ASCII characters.

For more information, see How to ensure idempotence.

Response parameters

Name Type Description
RequestId String The ID of the request.
Spec String The ID of the router interface.

Error codes

See VPC API Error Center.


Request example

  1. https://vpc.aliyuncs.com/?Action=ModifyRouterInterfaceSpec
  2. &RegionId=cn-hangzhou
  3. &Spec=Middle.2
  4. &RouterInterfaceId=ri-2ze7fbuohm7pcxxxxxx
  5. &<CommonParameters>

Response example

JSON format

  1. {
  2. "RequestId":"9580321B-80EE-487E-A2C0-1E432ACECC65",
  3. "Spec":"Middle.2"
  4. }
Thank you! We've received your feedback.