DeleteDirectConnectGateway

Last Updated At: 2026-08-02 00:06:16

1. Interface Description

Interface request domain name: vpc.api3.convergecloud.com.

This API (DeleteDirectConnectGateway) is used to delete Direct Connect gateways.

  • If it is a NAT gateway, deleting the Direct Connect gateway will also clear the NAT rules and ACL policies.
  • After the Direct Connect gateway is deleted, the system will delete the routing policies related to the Direct Connect gateway from the routing table.
  • This API is completed asynchronously. To query the result of the asynchronous task, use the `TaskId` returned by this API to poll the `DescribeVpcTaskResult` API.

    Default interface request rate limit: 20 times per second.

    Interface update time: 2025-08-29 04:07:36.

    The interface is both signature verification and authentication.

    2. Input Parameters

    The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.

    Parameter name Required Allow NULL Type Description
    Action Yes No String Public parameter, The value of this interface: DeleteDirectConnectGateway
    Version Yes No String Public parameter, The value of this interface: 2017-03-12
    Region No No String Public parameter,Regional information A list of supported geographies is available through the DescribeRegions interface
    DirectConnectGatewayId Yes No String Unique ID of Direct Connect gateway, e.g., dcg-9o233uri.
    Example: dcg-e6mxyyvj

    3. Output Parameters

    Parameter name Type Description
    TaskId Uint64 Task ID of this asynchronous task.
    Example: 65535
    RequestId String Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem.

    4. Error Code

    The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.

    Error Code Description
    InvalidParameterValue The parameter value is invalid.
    InvalidParameterValue.Malformed Invalid input format.
    ResourceNotFound The resource does not exist