Dashboards

Update Dashboard Widget

Changed on

Edit one widget using a full supported definition or sparse metadata/layout/query patch and the dashboard revision. Query and arrays replace their complete previous values. Omitted fields remain unchanged. Unsupported widgets allow layout-only edits. Read again after a revision conflict.

patch/console/v1/dashboards/{id}/widgets/{widgetId}

Request

  • Base URL
    https://statsigapi.net
  • URL
    https://statsigapi.net/console/v1/dashboards/{id}/widgets/{widgetId}
  • Auth
    API key in header STATSIG-API-KEY

Path parameters

idstring required

dashboard id

widgetIdstring required

widget id

Request body

revisionstring required

Include the revision returned by an editable or references read. Read the dashboard again after a revision conflict.

Response

Updated widget identity and dashboard revision.

messagestring required

A simple string explaining the result of the operation.

Changes