---
title: "Rollback dashboard version"
method: POST
path: "/api/v1/dashboards/{dashboardUuidOrSlug}/rollback/{versionUuid}"
tags: ["Dashboards"]
---

# Rollback dashboard version

`POST /api/v1/dashboards/{dashboardUuidOrSlug}/rollback/{versionUuid}`

Rollback dashboard to a previous version

## Path parameters

- `dashboardUuidOrSlug` string, required — A resource UUID or its URL slug. Resolve to a real UUID before using as a key.
- `versionUuid` string, uuid, required — Stringified UUIDv4. See [RFC 4112](https://tools.ietf.org/html/rfc4122)

## Response `200`

Success

- ApiSuccessEmpty
  - `results` unknown
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.net/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.net/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/versions/40c933755c9a/schema)
