edit-icon download-icon

DeactivateRouterInterface

Last Updated: Apr 09, 2018

Description

Deactivate a router interface.

After the API is called, the router interface changes to the Deactivating status. When the deactivation completes, the router interface changes to the Inactive status.

Note: A delinquent router interface cannot be deactivated.

Request parameters

Name Type Required Description
Action string Yes

The action to perform.

Valid value: DeactivateRouterInterface

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.

Examples

Request example

  1. https://vpc.aliyuncs.com/?Action=DeactivateRouterInterface
  2. &RegionId=cn-hangzhou
  3. &RouterInterfaceId=ri-2ze7fbuohm7pc3yxxxxx
  4. &<CommonParameters>

Response example

JSON format

  1. {
  2. "RequestId":"BE7EB53A-99AB-4DA8-AEDE-75FA90D046A6"
  3. }
Thank you! We've received your feedback.