Open freedge opened 1 year ago
:tada: Thanks for opening your first issue here! Welcome to the community!
Hi, @freedge were you able to find some details about it ? I'm looking for a way to bulk-delete huge amounts of objects (which actually takes a very long time with unit API calls), but I don't really understand if delete_similar is the right way to proceed, neither how to use it.
Documentation link
https://pan-os-python.readthedocs.io/en/latest/howto.html#optimize-with-bulk-operations
Describe the problem
doc mentions
delete_similar
as an alternative todelete
to perform bulk delete, but it's not clear how this feature should be used.if calling
fw.remove(obj)
on an AddressObject, next call toobj.delete_similar()
fails with an exceptionSuggested fix
can the documentation include an example of usage of
delete_similar
?