Showing results for 
Search instead for 
Did you mean: 
Create a Post

Script to delete objects

Hello everybody.

I'm doing a script to delete objects and rules. I'm having troubles to define if the object is the last in cell. In the SmartConsole, if I go to 'Where Used' in the object, I can see if it are the Last in Cell, but in the "mgmt_cli where used" there isn't a field with this information. Does anynone have this same problem? Is there another way to do this?

Thanks for while.

0 Kudos
1 Reply

Re: Script to delete objects

The API does not return if a particular object is "last in cell" or not.
You would have to parse the individual results returned by the where-used API call to determine if it is "last in cell" or not.
0 Kudos