cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
333
Views
0
Helpful
1
Replies

Remove Building in DNA 2.3.5.5 via API

mjbright757
Level 1
Level 1

Has anyone else experienced an issue deleting a site/building from DNA 2.3.5.5 using the API?  I've tested using Postman and an Ansible Playbook using the Cisco.DNA Collection and get the same results from both.  The API call is successful and I get a response with an execution ID and message "The request has been accepted for execution" but the site/building is never deleted.  In DNA Audit Logs, I see the entry for "Intent API "Delete Site" Executed", but the log entry stating the site was actually deleted never occurs.  However making the API call within DNA Platform/Developer Toolkit/API works as expected and log entry for site/building being successfully deleted is entered.

1 Reply 1

mjbright757
Level 1
Level 1

Disregard.  Was due to my own stupidity.  I failed to wrap my variable in curly brackets, so my API call was sending the literal word siteId rather than the actual siteId.