DeleteVpnConnection
GET /?Action=DeleteVpnConnection
Description
Deletes a specified VPN connection.
If you want to delete a VPC and all its dependencies, we recommand to detach the virtual private gateway from the VPC and delete the VPC before deleting the VPN connection. This enables you to delete the VPC without waiting for the VPN connection to be deleted.
Body parameter
Required: false
Name: DeleteVpnConnectionRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
DryRun |
If set to true, checks whether you have the required permissions to perform the action. |
false |
boolean |
||
VpnConnectionId |
The ID of the VPN connection you want to delete. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DeleteVpnConnectionResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |