---
title: "PUT /api/v1/config/dashboards/{slug}"
method: PUT
path: "/api/v1/config/dashboards/{slug}"
tags: ["Dashboard"]
---

# PUT /api/v1/config/dashboards/{slug}

`PUT /api/v1/config/dashboards/{slug}`

## Path parameters

- `slug` string, required

## Request body

- ConfigV1UpdateDashboardBody
  - `create_if_missing` boolean — If `true`, the Dashboard will be created if it does not already exist, identified by `slug`. If `false`, an error will be returned if the Dashboard does not already exist.
  - `dashboard` Configv1Dashboard
    - `collection` Configv1CollectionReference
      - `slug` string
      - `type` 'SIMPLE' | 'SERVICE'
    - `collection_slug` string — Optional. Slug of the collection the dashboard belongs to.
    - `created_at` string, date-time — Timestamp of when the Dashboard was created. Cannot be set by clients.
    - `dashboard_json` string — Raw JSON representation that defines the structure of the dashboard.
    - `labels` object — Optional. Defines tags that add metadata about the dashboard.
    - `name` string, required — The name of the Dashboard. You can modify this value after the Dashboard is created.
    - `slug` string — The unique identifier of the Dashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dashboard is created.
    - `updated_at` string, date-time — Timestamp of when the Dashboard was last updated. Cannot be set by clients.
  - `dry_run` boolean — If `true`, validates the specified configuration without creating or updating the Dashboard. If the specified configuration is valid, the endpoint returns a partial response without the Dashboard. If the specified configuration is invalid, the endpoint returns an error.

## Response `200`

A successful response containing the updated Dashboard.

- Configv1UpdateDashboardResponse
  - `dashboard` Configv1Dashboard
    - `collection` Configv1CollectionReference
      - `slug` string
      - `type` 'SIMPLE' | 'SERVICE'
    - `collection_slug` string — Optional. Slug of the collection the dashboard belongs to.
    - `created_at` string, date-time — Timestamp of when the Dashboard was created. Cannot be set by clients.
    - `dashboard_json` string — Raw JSON representation that defines the structure of the dashboard.
    - `labels` object — Optional. Defines tags that add metadata about the dashboard.
    - `name` string, required — The name of the Dashboard. You can modify this value after the Dashboard is created.
    - `slug` string — The unique identifier of the Dashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the Dashboard is created.
    - `updated_at` string, date-time — Timestamp of when the Dashboard was last updated. Cannot be set by clients.

## Other responses

- `400` — Cannot update the Dashboard because the request is invalid.
- `404` — Cannot update the Dashboard because the slug does not exist.
- `409` — Cannot update the Dashboard because there is a conflict with an existing Dashboard.
- `500` — An unexpected error response.
- `default` — An undefined error response.

---

[API](https://skmtc.dev/chronosphere/apis/data-v1-api.md) · [All operations](https://skmtc.dev/chronosphere/apis/data-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chronosphere/data-v1-api/revisions/ee91fd539ced/schema)
