---
title: "Update"
method: PATCH
path: "/v2/dashboards/{id}"
tags: ["Dashboards"]
---

# Update

`PATCH /v2/dashboards/{id}`

Update a dashboard.

## Path parameters

- `id` integer, required

## Request body

- DashboardUpdateSpec — Dashboard update request parameters
  - `dashboard` DashboardUpdate, required — Dashboard update parameters
    - `name` string — Name
    - `data` object — JSON data structure
    - `is_public` boolean — Is public and available to other users (default:false)

## Response `200`

Updated dashboard

- Dashboard — Dashboard resource
  - `id` integer — ID
  - `name` string — Name
  - `data` object — JSON data structure
  - `is_public` boolean — True if the dashboard is public
  - `created_at` string, date — Creation date-time
  - `updated_at` string, date — Updated date-time
  - `user` object — Optional owning user
    - `id` integer
    - `name` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `422` — Can not update the dashboard

---

[API](https://skmtc.net/dnsfilter/apis/dnsfilter-api.md) · [All operations](https://skmtc.net/dnsfilter/apis/dnsfilter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dnsfilter/dnsfilter-api/revisions/29e5e6ee3316/schema)
