There are a couple of different APIs that will provide the functionality you are looking for: 1. api/v1/discovery - provides the ability to create and trigger a discovery. 2. api/v1/group/{id}/member - add a device to a siteYou should be able to fin...
Navneet, You could checkout Auto smartports as one option. Catalyst 2960 and 2960-S Software Configuration Guide, 12.2(53)SE1 - Configuring Auto Smartports Macros [Cisco Catalyst …
Can you share the code you are using to access the API? I have used postman and the https://dnac/dna/apitester to learn the api. Here is a basic access to access the device inventory and represent as json. import requestsimport jsonfrom pprint impor...