DeleteDirectConnectGatewayAssociation
In this article:
DeleteDirectConnectGatewayAssociation#
Description#
Deletes a Direct Connect gateway association.
Request Parameters#
associationId — The ID of the association.
Type: String
Required: Yes
Response Elements#
directConnectGatewayAssociation — Information about the Direct Connect gateway association.
Type: DirectConnectGatewayAssociation object
Examples#
Request
https://directconnect.k2.cloud/?Action=DeleteDirectConnectGatewayAssociation
&associationId=dxassoc-B84DC3AC
Response
{
"directConnectGatewayAssociation": {
"directConnectGatewayId": "dxgw-40C3D59F",
"directConnectGatewayOwnerAccount": "user-1@c2dev",
"associationState": "disassociating",
"associatedGateway": {"id": "tgw-83EDA0ED", "type": "transitGateway"},
"associationId": "dxassoc-B84DC3AC",
"allowedPrefixesToDirectConnectGateway": [{"cidr": "10.0.0.0/28"}]
}
}
c2-dc DeleteDirectConnectGatewayAssociation associationId dxassoc-B84DC3AC