Write threshold values using API

Hi All,

Does anyone have an idea of using API to overwrite dashboard threshold values?

1.) GET /api/dashboards/uid/<UID> to get dashboard json
2.) your code to parse/configure thresholds in the dashboard json
3.) POST /api/dashboards/db to overwrite dashboard

See doc for exact syntax and parameters: http://docs.grafana.org/http_api/dashboard/

Thank you for the responds… I will go through the link

Hi jangaraj,

document is not clear not about updating the threshold values.