updateWidgetAlert()
Home > @gooddata/sdk-backend-spi > IWorkspaceDashboardsService > updateWidgetAlert
IWorkspaceDashboardsService.updateWidgetAlert() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Update widget alert
Signature:
updateWidgetAlert(alert: IWidgetAlert | IWidgetAlertDefinition): Promise<IWidgetAlert>;
Parameters
Parameter | Type | Description |
---|---|---|
alert | IWidgetAlert | IWidgetAlertDefinition | updated widget alert |
Returns:
Promise<IWidgetAlert>
promise with the updated alert