Skip to main content

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

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
RegionIdBODYstringYescn-qingdao-env66-d01the region ID of the IPsec connection. you can obtain the region by calling DescribeRegions interface ID.
VpnConnectionIdBODYstringYesvco-bp1bbi27hojx80nck****ID of IPsec connection.
ClientTokenBODYstringNo02fb3da4-130e-11e9-8e44-0016e04115bis 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.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}