cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Import Dashboard via API and Overwrite Existing Dashboard

Harrison.Clark
Builder

I had an idea to have some of the scripts my Ops team uses to update some of our dashboards. I'm testing this idea by exporting a test dashboard via the REST API, making some changes, and reuploading it. I'm doing this all in Powershell.

 

One thing I noticed is that when it is uploaded again with the same name, it doesn't overwrite the dashboard but instead creates a new one with "_1" appended.

 

Is there anyway around this so a new dashboard isn't created, but instead the exisiting one is just updated with the new config?

1 REPLY 1

Nawaz Ali.Mohammad
AppDynamics Team

Hello Harrison,

 

Unfortunately as of now, overwriting an existing dashboard is not possible. However, an enhancement is filed internally to support this in future releases.