Forum Discussion
mkyrc
Jan 29, 2024Cirrus
It is possible, but, as PhatANhappy wrote, configuration objects are nested and order of delete is important.
The question is about count of object to delete:
- if there are few objects, the web interface is sufficient (see statistics of virtual servers-> then delete these with count of zero. then see statistics of pools -> delete pools, then the same about members). yes, it's not "script" and you can forgot something (e.g. irule, profile, nat pool,...)
- if there is many objects, then you can use 1) bash script with tmsh commands, 2) python sdk or rest api call with json parsing (or any other tool) with querying "stats" - all with the correct order