Skip to main content
The updateDashboardWidgets mutation updates multiple existing widgets on a dashboard in a single operation. This allows for bulk updates to widget properties such as titles, layouts, and other configurations.

Signature

Arguments

[DashboardWidgetInput!]!
required
Array of widget input objects containing the updates to apply. Each widget must include an id field to identify which widget to update. See DashboardWidgetInput for the complete schema.

Response

Returns the updated Dashboard object with all widgets populated, including the updated widget configurations. See Dashboard for the schema.

Usage example

The following example shows how to update multiple widget properties on a dashboard:

Next steps

Add Widget to Dashboard

Add a new widget to dashboard

Delete Widget from Dashboard

Remove widgets from dashboard

Update Dashboard

Update dashboard properties

DashboardWidgetInput Object

Widget input schema