object dashboard.update(object/array dashboards)
This method allows to update existing dashboards.
(object/array) Dashboard properties to be updated.
dashboardid property must be defined for each dashboard, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard dashboard properties, the method accepts the following parameters.
|widgets||array||Dashboard widgets to replace existing dashboard widgets.
Dashboard widgets are updated by
|users||array||Dashboard user shares to replace the existing elements.|
|userGroups||array||Dashboard user group shares to replace the existing elements.|
(object) Returns an object containing the IDs of the updated dashboards under the
Rename a dashboard to "SQL server status".
Available only for admins and super admins.
CDashboard::update() in frontends/php/include/classes/api/services/CDashboard.php.
CDashboard::update() in ui/include/classes/api/services/CDashboard.php.