dashboards

Move Widget

Move a widget to another dashboard (same or different tab).

Reassigns the widget's dashboard_id and gives it a fresh grid position on the destination (preserving its w/h). The DashboardTemplateSync LEDGER IS NEVER TOUCHED: it is a per-(dashboard, template) tombstone with no widget_id (and many widgets can share a source_ref), so repointing it would delete the source tombstone and cause the re-seed we prevent. The moved Widget records its own destination presence; the source tombstone stays as immutable history.

post/api/v1/dashboards/{dashboard_id}/widgets/{widget_id}/move

Path parameters

dashboard_idstring uuid required
widget_idstring uuid required

Request body

destination_dashboard_idstring uuid required

Response

Successful Response

idstring uuid required
dashboard_idstring uuid required
titlestring required
viz_type'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap' required
configobject required
positionobject required
is_systemboolean
source_kind'system' | 'user' nullable
source_refstring nullable
source_config_snapshotobject nullable
source_viz_snapshot'line' | 'bar' | 'pie' | 'number' | 'pivot' | 'logs_table' | 'heatmap'
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.