Replace Widgets on Dashboard
Reconcile the complete widget list by ID. Read view=editable or view=references first and include its revision. Preserve widgets with {id}; list exactly the…
Reconcile the complete widget list by ID. Read view=editable or view=references first and include its revision. Preserve widgets with {id}; list exactly the omitted widget IDs in delete_widget_ids to confirm deletion. A revision conflict requires a fresh read and reapplication of the intended edit.
https://statsigapi.net/console/v1/dashboards/{id}/widgetsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Body
application/jsonrevisionstringrequiredInclude the revision returned by an editable or references read. Read the dashboard again after a revision conflict.
widgetsoneOf[]requiredProvide the complete final list. Use { "id": "widget_id" } to preserve a widget without resending its definition.
Show child attributes
typestringrequiredtexttitlestringrequiredcontentstringrequiredwidthintegermin: 0max: 12heightintegermin: 0idstringdescriptionstringcolorstringnullablelayoutobjectrowintegerrequiredmin: 0columnintegerrequiredmin: 0max: 11date_rangeobjectnullablestart_dsstringnullableend_dsstringnullablestart_offset_daysnumbernullableend_offset_daysnumbernullabledelete_widget_idsstring[]List exactly the existing widget IDs omitted from widgets. Omission alone never confirms deletion.
defaultsobjectnullableShow child attributes
dateoneOfobjectvalueintegerrequiredmin: 0unitstringrequireddayweekmonthgranularitystringautodailyweeklymonthlymax_colsintegerformat: int64min: 0Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idsstring[]requiredrevisionstringrequireddeleted_idsstring[]requiredstatusintegerrequired400messagestringrequiredstatusintegerrequired404messagestringrequiredWas this helpful?
For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.