Is there a way to use the dashboard HTTP API to just update a dashboard to have a specific time range?
That is, I don’t want to upload the whole dashboard JSON, I just want to change the
time range of the already existing dashboard having UID, something like this
curl -X POST \
-H "Authorization: Bearer XXXXXXXXX" \
-H "Content-Type: application/json" \
-d '{
"dashboard": {
"uid": "_AXr9RdVk",
"time": {
"from": "2022-10-19T12:28:36.383Z",
"to": "2022-10-19T12:38:36.383Z"
}
}
}' \
https://my.host.domain/grafana/api/dashboards/db