query

Replace a dashboard's widgets

Changed on

Replace every widget on a custom dashboard, and optionally its title and description. A widget that already exists keeps its position unless you pass a new one; new widgets without a position are stacked full width below the others, in order.

put/api/v1/query/dashboards/{dashboardId}

Request

Request body

titlestring
descriptionstring
revisionstring

The revision from the dashboard you last read. Send it to reject the write with a 409 if someone else changed the dashboard in the meantime.

Response

The updated dashboard

idstring

The dashboard id, starting with dashboard_

titlestring
descriptionstring
revisionstring

The revision from the dashboard you last read. Send it to reject the write with a 409 if someone else changed the dashboard in the meantime.

createdAtstring date-time
updatedAtstring date-time

Changes