DeleteVpnGateway
GET /?Action=DeleteVpnGateway
Description
Deletes a specified virtual private gateway.
Before deleting a virtual private gateway, we recommand to detach it from the VPC and delete the VPN connection.
Body parameter
Required: false
Name: DeleteVpnGatewayRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
DryRun |
If set to |
false |
boolean |
||
VpnGatewayId |
The ID of the virtual private gateway. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
DeleteVpnGatewayResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |