Posting empty dashboard result in corrupted dashboard #5443

Closed
corentingi opened this Issue Jun 27, 2016 · 2 comments

Projects

None yet

3 participants

@corentingi
corentingi commented Jun 27, 2016 edited
  • I'm submitting a ...
  • Bug report
  • Feature request
  • Question / Support request: Please do not open a github issue. Support Options

Hi,
I'm using v3.1.0-beta1

I have posted an empty dashboard and it created one but with empty slug and so this dashboard cannot be accessed nor deleted from the web interface or the API...

POST .../api/dashboards/db with data {"dashboard": ""} result in this error.

Is there a way to remove this empty dashboard ?

Thanks!

@corentingi corentingi changed the title from Postin empty dashboard result in corrupted dashobard to Posting empty dashboard result in corrupted dashobard Jun 27, 2016
@corentingi corentingi changed the title from Posting empty dashboard result in corrupted dashobard to Posting empty dashboard result in corrupted dashboard Jun 27, 2016
@corentingi
corentingi commented Jun 27, 2016 edited

I found a way to delete this dashboard by posting a new one with the same id.
I got the ID from the search method: /api/search
The solution is to post the following:

{
  "overwrite": true,
  "dashboard": {
    "id": 154,
    "title": "new dashboard name"
  }
}

Then the renamed dashboard can be deleted...

@bergquist
Contributor

Closed by #6741

@bergquist bergquist closed this Nov 29, 2016
@bergquist bergquist added this to the 4.1.0 milestone Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment