Implementing Automation for Cisco Enterprise Solutions (ENAUTO) — Question 36
The Cisco DNA Center Sites API must be used to add a device to a site, but only the site name is available. Which API call must be used to retrieve the site identifier so that the device can be properly added to the network?
Answer options
- A. /dna/intent/api/site/siteId
- B. /dna/intent/api/site
- C. /dna/intent/api/v1/site
- D. /dna/intent/api/v1/site/siteName
Correct answer: C
Explanation
The correct answer is C, as the endpoint /dna/intent/api/v1/site is specifically designed to retrieve site information, including identifiers, based on the site name. The other options do not provide the necessary functionality to retrieve the site identifier needed for adding the device.