# Deleting a Connection

#### Scenarios

To delete a connection, you first need to delete the associated virtual interface and virtual gateway in sequence.

#### Procedure

1. Log in to the management console.
2. Click in the upper left corner and select a region and a project.
3. Under Network, click Direct Connect.
4. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.
5. In the virtual interface list, locate the row containing the target virtual interface and click Delete under Operation.
   Figure 1 Deleting a virtual interface
6. After confirming the information in the displayed dialog box, click Yes.
7. In the navigation pane on the left, choose Direct Connect > Virtual Gateways.
8. In the virtual gateway list, locate the row containing the target virtual gateway and click Delete under Operation.
   Figure 2 Deleting a virtual gateway
9. After confirming the information in the displayed dialog box, click Yes.
10. In the navigation pane on the left, choose Direct Connect > Connections.
11. In the connection list, locate the row containing the target connection and click Delete under Operation.
    Figure 3 Deleting a connection
12. After confirming the information in the displayed dialog box, click Yes.

Parent topic: Connection Management