| Did this page help you? Yes No Tell us about it... |
Deletes a VPN customer gateway. You must delete the VPN connection before deleting the customer gateway.
For more information about Amazon Virtual Private Cloud and VPN customer gateways, go to Adding an IPsec Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
| Name | Description | Required |
|---|---|---|
|
|
The ID of the customer gateway you want to delete. Type: String Default: None |
Yes |
The elements in the following table are wrapped in an
DeleteCustomerGatewayResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example deletes the customer gateway with ID cgw-b4dc3961.
https://ec2.amazonaws.com/?Action=DeleteCustomerGateway &CustomerGatewayId=cgw-b4dc3961 &AUTHPARAMS
<DeleteCustomerGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2012-04-01/"> <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId> <return>true</return> </DeleteCustomerGatewayResponse>