| Did this page help you? Yes No Tell us about it... |
Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Internet gateway to be deleted. Type: String Default: None |
Yes |
The elements in the following table are wrapped in a
DeleteInternetGatewayResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: String |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example deletes the Internet gateway with ID igw-eaad4883.
https://ec2.amazonaws.com/?Action=DeleteInternetGateway &InternetGatewayId=igw-eaad4883 &AUTHPARAMS
<DeleteInternetGatewayResponse xmlns="http://ec2.amazonaws.com/doc/2011-07-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </DeleteInternetGatewayResponse>