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 true, checks whether you have the required permissions to perform the action.

false

boolean

VpnGatewayId

The ID of the virtual private gateway.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

DeleteVpnGatewayResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean