Skip to main content
PUT
Update a dashboard

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user). A key created with scopes reaches only the permission groups they name, and gets 403 insufficient_scope elsewhere; GET /public-api/scopes lists them.

Path Parameters

dashboard_id
string
required

Body

application/json

Every field left out keeps the stored value. module and widgets together replace the definition. restore_definition_id instead makes an earlier definition the one in use. permission_groups {} clears the groups; custom_api_connections [] the connections.

custom_api_connections
string[] | null

Replaces them; [] clears them. Custom API connections the module reads, by id or name: from external_api.client import http_request, then http_request("<connection id>"). GET connections only; stored and returned as ids. A miss lists the workspace's GET connections.

dataset
PublicDataset · object | null

Replaces the definition's dataset; left out, the stored one stays.

default_view
PublicDefaultView · object | null

Replaces the filters and period the dashboard opens in when its link has none, checked against the dataset in use after this update; send null or {} to open unfiltered. Left out, it stays. Refreshes nothing.

expected_definition_id
string<uuid> | null

The definition_id you read with GET. When the dashboard uses another definition now, the update is a 409 and nothing is stored.

folder_id
string<uuid> | null

Move the dashboard into this folder on the list; send null to move it out to the top level. Left out, it stays where it is. Refreshes nothing.

module
string | null

Replaces the module, with widgets. At most 200,000 bytes as sent; it is stored formatted when the formatted text fits that limit, else as sent.

name
string | null
Required string length: 1 - 120
parameters
PublicParameter · object[] | null

Replaces the saved inputs the definition declares; [] declares none. Left out, they stay. Their values stay on the dashboard; a value of a key no longer declared is ignored.

Maximum array length: 20
period_rule
PeriodRuleRequest · object | null
permission_groups
Permission Groups · object | null
removed_widget_ids
string[]

Every widget id in use now that widgets leaves out: the removals the user asked for. A widgets that drops an id not listed here, or lists one it keeps, is refused and nothing is stored.

restore_definition_id
string<uuid> | null

An id from GET /dashboards/<id>/definitions: its module and widgets become the dashboard's again. Not with module or widgets.

schedule
PublicSchedule · object | null

Replaces the schedule; send null to stop refreshing on a schedule. Left out, the schedule stays. Refreshes nothing now: the first fire does.

theme
PublicTheme · object | null

Replaces the whole theme, colours and title size; {} goes back to the page's own. Refreshes nothing.

widgets
PublicWidget · object[] | null

Response

Success.

data
PublicDashboardCard · object
required

What a write answers: enough for the chat to open the dashboard beside it.

meta
object
required