DetachVpnGateway
GET /?Action=DetachVpnGateway
Description
Detaches a virtual private gateway from a VPC.
You must wait until the virtual private gateway is in the detached state before you can attach another VPC to it or delete the VPC it was previously attached to.
Body parameter
Required: false
Name: DetachVpnGatewayRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
DryRun |
If set to |
false |
boolean |
||
VpcId |
The ID of the VPC. |
true |
string |
||
VpnGatewayId |
The ID of the virtual private gateway. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
DetachVpnGatewayResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |