04-25-2019 02:37 AM - edited 04-25-2019 02:39 AM
When a device is decommissionned, I would like to use the REST API feature to delete it from its Tacacas Network Device Group. The ERS SDK contains examples. That's fine.
Now I would like, to use the REST API to delete the Network Device Group when I have deleted its last Network Device.
Is there an easy REST API way to know when a NetworkDevice Group is empty,
Or do I have to create a loop to check the Network devices one by one to know if it is part of the Network Device Group.
NB: The Network Device Groups GUI shows the number of devices per group.
Solved! Go to Solution.
04-28-2019 06:10 PM
You are correct this info in ISE admin web UI. It is not currently available in ERS API so you would need either get it from the web UI or loop through the NADs. Only for location and type, we may use Get-All and filter on them.
04-28-2019 06:10 PM
You are correct this info in ISE admin web UI. It is not currently available in ERS API so you would need either get it from the web UI or loop through the NADs. Only for location and type, we may use Get-All and filter on them.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide