Dashboards: update
dashboards_updateUpdate an existing dashboard: rename it, change description or sharing, or replace its entire widget list and layout. Widgets omitted from the new config are removed; confirm with the user first.
Instructions
Rename a dashboard, change who can see it, or replace its widgets and layout. Changes a dashboard's name, description or sharing, or replaces its whole widget list and layout through config; widgets missing from a new list are removed. To add or remove one chart, use dashboards_add_chart or dashboards_remove_widget, which keep everything else. Only the owner can change sharing. Returns JSON. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Dashboard ID. Find it with dashboards_list. | |
| name | No | New dashboard name | |
| config | No | Other changes as a JSON object. widgets replaces the whole widget list, so include every widget to keep (with its id); layout is a list of {widget_id, x, y, w, h} | |
| shared | No | Let everyone in the project see it (true/false). Only its owner can change this | |
| description | No | New description | |
| allow_shared_edit | No | Let everyone who can see it edit it (true/false). Only its owner can change this |