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).

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.

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.

module
string | null
name
string | null
Required string length: 1 - 120
period_rule
PeriodRuleRequest · object | null
permission_groups
Permission Groups · object | null
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.

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