def hostinterface_delete(interfaceids, **connection_args):
 conn_args = _login(**connection_args)
 try:
  if conn_args:
   method = 'hostinterface.delete'
   if isinstance(interfaceids, list):
    params = interfaceids
   else:
    params = [interfaceids]
   ret = _query(method, params, conn_args['url'], conn_args['auth'])
   return ret['result']['interfaceids']
  else:
   raise KeyError
 except KeyError:
  return ret

def hostinterface_delete ( interfaceids , ** connection_args ) : conn_args = _login ( ** connection_args ) try : if conn_args : method = 'hostinterface.delete' if isinstance ( interfaceids , list ) : params = interfaceids else : params = [ interfaceids ] ret = _query ( method , params , conn_args [ 'url' ] , conn_args [ 'auth' ] ) return ret [ 'result' ] [ 'interfaceids' ] else : raise KeyError except KeyError : return ret
delete host interface .