edit-icon download-icon


Last Updated: Apr 09, 2018


Activate a router interface in the Inactive status.

After the API is called, the router interface changes to the Activating status. When the activation completes, the router interface changes to the Active status.

Note: A delinquent router interface cannot be activated.

Request parameters

Name Type Required Description
Action string Yes

The action to perform.

Valid value: ActivateRouterInterface

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.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See VPC API Error Center.


Request example

  1. https://vpc.aliyuncs.com/?Action=ActivateRouterInterface
  2. &RouterInterfaceId=ri-257gq642n
  3. &<CommonParameters>

Response example

JSON format

  1. {
  2. "RequestId":"079874CD-AEC1-43E6-AC03-ADD96B6E4907"
  3. }
Thank you! We've received your feedback.