Delete Direct Connect Tunnel

Last updated: 2020-06-04 18:55:14

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new DC API 3.0 which is standardized and faster.

    Description

    This API (DeleteDirectConnectTunnel) is used to delete a direct connect tunnel.
    Domain name: dc.api.qcloud.com

    Request Parameters

    Parameter Type Required Description
    directConnectTunnelId String Yes Direct connect tunnel ID
    For example: dcx-abcdefgh

    Response Parameters

    Parameter Type Description
    code Int Error code
    0: Successful
    Other values: Failed
    message String Error message

    Sample Code

    Request example

      GET https://dc.api.qcloud.com/v2/index.php?Action=DeleteDirectConnectTunnel
      &<<a href="https://cloud.tencent.com/doc/api/229/6976">common request parameters</a>>
      &directConnectTunnelId=dcx-abcdefgh

    Response example

    {
        "code": 0,
        "message": ""
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help