Updated on 2026-01-09 GMT+08:00

Deleting a Network Interface

Scenarios

This section describes how to delete a network interface.

Notes and Constraints

  • A primary network interface is created together with an instance by default, and cannot be detached from the instance. If you want to delete a primary network interface, you need to delete its instance first, which will also delete the primary network interface.
  • If you want to delete an extended network interface that is attached to an instance, detach the network interface from the instance first.
  • Deleting a network interface will also delete its supplementary network interfaces.
  • Deleting a network interface will also unbind its EIP. You can choose to release the EIP if needed.

    If you do not release the EIP, the EIP will continue to be billed, but you can still bind it to other cloud resources.

  • If a network interface has resources associated, deleting the interface will also delete any rules for associated resources that reference it.

    For example, if the next hop of a custom route in a VPC route table is a network interface, deleting the network interface will also delete the route.

Procedure

  1. Go to the network interface list page.
  2. In the network interface list, perform the following steps to delete a network interface as required.
    • Deleting a single network interface
      1. In the network interface list, locate the row that contains the network interface, click More in the Operation column, and click Delete.

        A confirmation dialog box is displayed.

      2. Confirm the information and click OK.
    • Deleting network interfaces in batches
      1. In the network interface list, select network interfaces to be deleted and click Delete in the upper left corner of the list.

        A confirmation dialog box is displayed.

      2. Confirm the information and click OK.