---
title: "Create or update a dashboard."
method: PUT
path: "/builder/report/{id}"
tags: ["DASHBOARDS"]
---

# Create or update a dashboard.

`PUT /builder/report/{id}`

If the report id has been provided, the report will be updated. Otherwise, a new report will be created.

## Path parameters

- `id` integer, required

## Request body

- UpsertReportRequest
  - `description` string
  - `display_scope` string
  - `id` integer
  - `key` string
  - `label` string, required
  - `metaData` object
  - `visibility` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `409` — Conflict
- `500` — Internal Server Error

---

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