Reply

Using python to periodically delete Recycle bin in Infoblox

Techie
Posts: 8
1864     0

I'm trying to use the infoblox_client library in python to access the recycle bin in infoblox and delete 1 week old's object ( not empty the entire bin ) periodically every week.

 

I'm not able to find the syntax in the library to extract deleted objects from infoblox. Can anyone help ?

Re: Using python to periodically delete Recycle bin in Infoblox

New Member
Posts: 3
1865     0

To retrieve and delete objects from the Infoblox recycle bin using the infoblox_client library, retrieve all objects of the desired type, filter deleted objects based on their last_updated or deleted attributes, determine deletion age, and delete objects older than one week. Replace placeholders with your Infoblox server credentials and adjust the query based on the object type. Ensure necessary permissions and test the code.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You