Skip to main content
PATCH
Edit a dashboard widget

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

widget_id
string
required

Body

application/json

Body for editing a widget; type and dashboard_id are immutable.

project_id
string
required
display_config
Display Config · object | null

Replaces the whole display config; null resets it to {}

spec
WidgetSpec (spans) · object

Chart spec over the "spans" view; the enums below are the complete field vocabulary for this view.

title
string

Response

Successful Response

The updated widget.

changed
string[]
required
updated
boolean
required
widget
WidgetRow · object
required

A widget as the write service returns it.