DeleteVpnConnection
Description
call the DeleteVpnConnection interface to delete the specified IPsec connection.
Request Method
POST
Request Path
/apsara/route/Vpc/DeleteVpnConnection
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env66-d01 | the region ID of the IPsec connection. you can obtain the region by calling DescribeRegions interface ID. |
VpnConnectionId | BODY | string | Yes | vco-bp1bbi27hojx80nck**** | ID of IPsec connection. |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-0016e04115b | is used to ensure the idempotence of the request. The parameter value is generated by the client. It must be unique between different requests, and the maximum value does not exceed 64 ASCII characters. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}