Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How to bulk delete custom dashboards using API

 
  1. 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
  2. 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>>]

 

Version history
Revision #:
3 of 3
Last update:
‎01-02-2019 03:32 PM
Updated by:
 
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
Comments

How to delete  a dashboard from UI


@Narendra.Reddy wrote:
 
  1. 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
  2. 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>>]

 


 

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.

 

Screen Shot 2018-09-18 at 15.41.05.png

Great thanks I got it