---
title: "Delete a sheet and its cells."
method: DELETE
path: "/documents/{id}/sheets/{sheetId}"
tags: ["Sheets"]
---

# Delete a sheet and its cells.

`DELETE /documents/{id}/sheets/{sheetId}`

## Request

- Base URL: `https://www.livediagram.app/api`
- URL: `https://www.livediagram.app/api/documents/{id}/sheets/{sheetId}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Owner-Id`

## Path parameters

- `id` string, required
- `sheetId` string, required

## Query parameters

- `tabId` string
- `whenUnreferenced` string

## Response `204`

Success.

## Other responses

- `400`: Error.
- `401`: Error.
- `403`: Error.
- `404`: Error.
- `410`: Error.
- `429`: Rate limited. Back off and retry.

---

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