[Bug]: HTTP API for deleting org returning incorrect message for a non-existing org #6679

utkarshcmu opened this Issue Nov 23, 2016 · 1 comment


None yet

3 participants

utkarshcmu commented Nov 23, 2016 edited
  • What Grafana version are you using? master
  • What did you do? Ran following command where 45 is a non-existing org id:
curl -X DELETE http://admin:admin@localhost:3000/api/orgs/45
  • What was the expected result? Output:
{"message":"Organization not found"}
  • What happened instead? Output:
{"message":"Organization deleted"}

Closed by #6722

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