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
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>>]
How to delete a dashboard from UI
@Narendra.Reddy wrote:
- To bulk delete custom dashboards using a REST API, begin by fetching the
JESSIONID
andX-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
andX-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>>]
I need to know the deletion of custom dashboard from the AppD web cosnole and than doing aPI
Hi Lijin,
From the Dashboard & Reports -> Dashboard -> shift+selecting the dashboards, we can build delete the dashboards.
Great thanks I got it