DetachInternetGateway
GET /?Action=DetachInternetGateway
Description
Detaches an Internet gateway from a Virtual Private Cloud (VPC).
This action disables and detaches an Internet gateway from a VPC. The VPC must not contain any running instance using an External IP address (EIP).
Body parameter
Required: false
Name: DetachInternetGatewayRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
InternetGatewayId |
The ID of the Internet gateway. |
true |
string |
||
VpcId |
The ID of the VPC. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
DetachInternetGatewayResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |