

# Disassociate a connection from a LAG at an Amazon Direct Connect endpoint
<a name="disassociate-connection-from-lag"></a>

Convert a connection to standalone by disassociating it from a LAG using either the Amazon Direct Connect console or using the command line or API. You can't disassociate a connection if it causes the LAG to fall below its threshold for the minimum number of operational connections.

Disassociating a connection from a LAG does not automatically disassociate any virtual interfaces.

**Important**  
Your connection to Amazon is broken off during disassociation.

**To disassociate a connection from a LAG**

1. Open the **Amazon Direct Connect** console at [https://console.amazonaws.cn/directconnect/v2/home](https://console.amazonaws.cn/directconnect/v2/home).

1. In the left pane, choose **LAGs**.

1. Select the LAG, and then choose **View details**.

1. Under **Connections**, select the connection from the list of available connections and choose **Disassociate**.

1. In the confirmation dialog box, choose **Disassociate**.

**To disassociate a connection using the command line or API**
+ [disassociate-connection-from-lag](https://docs.amazonaws.cn/cli/latest/reference/directconnect/disassociate-connection-from-lag.html) (Amazon CLI)
+ [DisassociateConnectionFromLag](https://docs.amazonaws.cn/directconnect/latest/APIReference/API_DisassociateConnectionFromLag.html) (Amazon Direct Connect API)