def delete(self, name):
        commands = ['interface %s' % name, 'no switchport']
        return self.configure(commands)
Deletes the logical layer 2 interface
dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/switchports.py/Switchports.delete