Adding domains to custom lists with add_items_to_custom_list() works, but deleting throws an objpath error.
add a domain:
tdc = bloxone.b1tdc("bloxone.ini")
tdc.add_items_to_custom_list(name="Custom Block List", items=["test.xyz"])
remove a domain:
tdc = bloxone.b1tdc("bloxone.ini")
tdc.delete_items_from_custom_list(name="Custom Block List", items=["test.xyz"])
Traceback (most recent call last):
File "\bloxonetd\editList.py", line 43, in
tdc.delete_items_from_custom_list(name="Custom Block List", items=["test.xyz"]).json()
File "\Python\Python38\lib\site-packages\bloxone\b1tdc.py", line 397, in delete_items_from_custom_list
response = b1tdc.delete(request, body=json.dumps(body))
TypeError: delete() missing 1 required positional argument: 'objpath'
Adding domains to custom lists with add_items_to_custom_list() works, but deleting throws an objpath error. add a domain: tdc = bloxone.b1tdc("bloxone.ini") tdc.add_items_to_custom_list(name="Custom Block List", items=["test.xyz"])
remove a domain: tdc = bloxone.b1tdc("bloxone.ini") tdc.delete_items_from_custom_list(name="Custom Block List", items=["test.xyz"]) Traceback (most recent call last): File "\bloxonetd\editList.py", line 43, in
tdc.delete_items_from_custom_list(name="Custom Block List", items=["test.xyz"]).json()
File "\Python\Python38\lib\site-packages\bloxone\b1tdc.py", line 397, in delete_items_from_custom_list
response = b1tdc.delete(request, body=json.dumps(body))
TypeError: delete() missing 1 required positional argument: 'objpath'