Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aws
GitHub Repository: aws/aws-cli
Path: blob/develop/awscli/examples/directconnect/delete-connection.rst
1567 views
**To delete a connection**

The following ``delete-connection`` command deletes the specified connection::

  aws directconnect delete-connection --connection-id dxcon-fg31dyv6

Output::

  {
      "ownerAccount": "123456789012", 
      "connectionId": "dxcon-fg31dyv6", 
      "connectionState": "deleted", 
      "bandwidth": "1Gbps", 
      "location": "TIVIT", 
      "connectionName": "Connection to AWS", 
      "region": "sa-east-1"
  }