DeleteInternetGateway

GET /?Action=DeleteInternetGateway
Description

Deletes an Internet gateway.
Before deleting an Internet gateway, you must detach it from any Virtual Private Cloud (VPC) it is attached to.

Body parameter

Required: false
Name: DeleteInternetGatewayRequest

Name Description Required Schema Default Example

InternetGatewayId

The ID of the Internet gateway.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

DeleteInternetGatewayResult

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