---
title: "Delete a canvas without retained history"
method: DELETE
path: "/v1/canvases/{canvasId}"
tags: ["Canvases"]
---

# Delete a canvas without retained history

`DELETE /v1/canvases/{canvasId}`

## Request

- Base URL: `https://api.masko.ai`
- URL: `https://api.masko.ai/v1/canvases/{canvasId}`
- Auth: HTTP bearer

Deletes a canvas that has no saved checkpoints or releases. A canvas with history returns 409.

## Path parameters

- `canvasId` string, uuid, required

## Response `204`

Deleted

## Other responses

- `400`: Invalid input
- `401`: Authentication required
- `403`: Write key required
- `404`: Resource not found in credential workspace
- `409`: Revision conflict or retained history
- `422`: Required release media unavailable

---

[API](https://skmtc.dev/masko/apis/masko-api.md) · [All operations](https://skmtc.dev/masko/apis/masko-api/llms.txt) · [OpenAPI document](https://skmtc.dev/masko/apis/masko-api/revisions/84832e255613?raw)
