Skip to main content
The deleteWidgetFromDashboard mutation removes a specific widget from a dashboard.

Signature

Arguments

String!
required
The unique identifier of the dashboard containing the widget.
String!
required
The unique identifier of the widget to remove from the dashboard.

Response

Returns the updated Dashboard object with the widget removed. See Dashboard for the schema.

Usage example

The following example shows how to remove a widget from a dashboard:

Next steps

Add Widget to Dashboard

Add widgets to dashboard

Update Dashboard Widgets

Update existing widgets