DeleteDirectConnectGateway
In this article:
DeleteDirectConnectGateway#
Description#
Deletes a Direct Connect gateway.
Request Parameters#
directConnectGatewayId — The ID of the Direct Connect gateway.
Type: String
Required: Yes
Response Elements#
directConnectGateway — Information about the Direct Connect gateway.
Type: DirectConnectGateway object
Examples#
Request
https://directconnect.k2.cloud/?Action=DeleteDirectConnectGateway
&directConnectGatewayId=dxgw-34F99F29
Response
{
"directConnectGateway": {
"directConnectGatewayId": "dxgw-34F99F29",
"amazonSideAsn": 64512,
"directConnectGatewayName": "test-2",
"directConnectGatewayState": "deleting",
"ownerAccount": "user-1@c2dev"
}
}
c2-dc DeleteDirectConnectGateway directConnectGatewayId dxgw-34F99F29