Skip to main content
Edits a dashboard. Omitted fields keep their current value. widgets, when sent, replaces the list: widgets are matched by name, so a widget that keeps its name keeps its id; a new name adds a widget and a name no longer listed removes it. To change one widget, PUT /v1/dashboard/{dashboardId}/widget/{widgetId}.
Calls PUT /v1/dashboard/{dashboardId}

Arguments

string
required
The dashboard ID.

Options

string
string
string
The window: LAST n DAYS/WEEKS/MONTHS up to now, a CALENDAR_ALIGNED period (TODAY, YESTERDAY, THIS_WEEK, LAST_WEEK, THIS_MONTH, LAST_MONTH, THIS_YEAR, LAST_YEAR), FIXED from/to, or SINCE a date. At most 731 days (two years).
array
switch
array

Example

Every command also takes the global options and sets one of the exit codes.