cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Knowledge Base

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
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.
By replying you agree to the Terms and Conditions of the AppDynamics Community.
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