diff --git a/ipahttp/ipahttp.py b/ipahttp/ipahttp.py index d5a7ae8..c3f6b28 100644 --- a/ipahttp/ipahttp.py +++ b/ipahttp/ipahttp.py @@ -165,7 +165,7 @@ def host_add(self, hostname, opasswd, force=True): return results def host_del(self, hostname): - m = {'item': [hostname], 'method': 'host_del', 'params': {'all': True}} + m = {'item': [hostname], 'method': 'host_del', 'params': {'version': '2.164'}} results = self.makeReq(m) return results