Grafana Dashboard Timezone

Hi,
I am using Grafana 11.2.1. My problem is that when I use /api/dashboards/db, it does not update the ‘from’ and ‘to’ time. How can I update the ‘from’ and ‘to’ time of my dashboard using the API?