---
title: "Edit Dashboard"
method: PATCH
path: "/dashboards/{dashboard_id}"
tags: ["Dashboard"]
---

# Edit Dashboard

`PATCH /dashboards/{dashboard_id}`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/dashboards/{dashboard_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Edit Dashboard

## Path parameters

- `dashboard_id` integer, required

## Request body

- DashboardEditSpec: Parameters required for dashboard Edit
  - `patch` DashboardEditParams[], required: Encapsulated dashboard edit parameters
    - `op` 'add' | 'replace', required: Operation
    - `path` 'intent' | 'title' | 'theme' | 'pages' | 'filters', required: Path
    - `value` union, required: Value to update dashboard
      - string
      - object

## Response `200`

Request fulfilled, document follows

- unknown

## Other responses

- `202`: Successfully Submitted
- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
