The network devices have been deleted one by one by using the API.
Complete registration test of many network devices at once by using Bulk API.
What I want is to delete the network devices registered in ISE using Bulk API.
According to the API guide, other commands that are supported in large quantities are also available.
- API Documentation > Network Device > Overview (https://x.x.x.x:9060/ers/sdk#_?)
- The Bulk section is showing only 'create' bulk operation however, all other operation which are bulk supported can be used in same way.?
In the case of endpoints, you can delete many endpoints at once with the Bulk API.
Using the endpoint deletion sample Bulk API, I wrote a bulk API that deletes many network devices, but an error remains.
- Network Device Bulk API (Delete)
Method : DELETE
URL : https://xxx.xxx.xxx.xxx:9060/ers/config/networkdevice/bulk
Result - Status : 404 Not Found
Is it not possible to delete a network device using Bulk API?
Network devices don't support Bulk API?
How to delete a large number of Network Devices using Bulk API?
Go to Solution.
I suggest taking a peek at the online SDK if you have not already done so. <https://<pan ip>:9060/ers/sdk#>.
Network devices don't support Bulk APIs?
-AFAIK this is not supported as of 2.7. For bulk requests and network devices you can leverage the PUT operation to create several devices.
View solution in original post
Mike is correct.
See https://developer.cisco.com/docs/identity-services-engine/3.0/#!bulk-operations/sending-bulk-request which uses PUT then GET for status but not DELETE.
You will need to iterate over your list of IDs with
as shown at https://developer.cisco.com/docs/identity-services-engine/3.0/#!network-device/delete
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: