| « PreviousNext » | |
![]() ![]() | 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 VPN customer gateways, see Adding an IPsec Hardware Virtual Private Gateway to Your VPC in the Amazon Virtual Private Cloud User Guide.
CustomerGatewayIdThe ID of the customer gateway.
Type: String
Default: None
Required: Yes
The following elements are returned in an
DeleteCustomerGatewayResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns 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/2013-02-01/"> <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId> <return>true</return> </DeleteCustomerGatewayResponse>