Delete Direct Connect Tunnel

Last updated: 2018-06-25 17:52:18

Description

This API (RefuseDirectConnectTunnel) is used to reject the application for sharing 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=RefuseDirectConnectTunnel
  &<<a href="https://cloud.tencent.com/doc/api/229/6976">common request parameters</a>>
  &directConnectTunnelId=dcx-abcdefgh

Response example

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