Using Console
Using CLI
<eni-id>
with the ID of the unused ENI that you want to delete. You can run this command for each unused ENI that you identified in step 1.Using Python
describe_network_interfaces
method to get a list of all the network interfaces in your account: