How to delete a dashboard from UI
To bulk delete custom dashboards using a REST API, begin by fetching the JESSIONID and X-CSRF-TOKEN for the user with login access to the Controller UI:
curl -i --user <<userName>>@<<accountName>> https://demo.saas.appdynamics.com/auth?action=login
Next, execute the following CURL call with the JESSIONID and X-CSRF-TOKEN from the previous step. This will delete the dashboards.
curl -X POST -H "Cookie:JSESSIONID=<<jsessionId>>;" -H "X-CSRF-TOKEN:<<tokenValue>>" -H "Content-Type: application/json" -H "Accept: application/json" https://demo.saas.appdynamics.com/controller/restui/dashboards/deleteDashboards -d [1,2,3,...<<dashbaordIds>>]
... View more