> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cube.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Trash

> Move workbooks and dashboards to the Trash, restore them, or delete them permanently.

Deleting a workbook or unpublishing a dashboard moves it to the **Trash**. From
there, you can restore it with its reports, versions, sharing, comments,
reviews, schedules, and alerts, or delete it permanently. Nothing empties the
Trash on its own.

Folders and explorations don't go to the Trash: deleting them is permanent. So
is deleting a workbook or unpublishing a dashboard in [Creator
Mode](#creator-mode) or through the [API](#api), except deleting a workbook
through the API with `trash` outside an [embed session][ref-embed-session].

## Moving to the Trash

To move a workbook to the Trash, select **Move to Trash** in its row menu
(**⋯**) on the **Workspace** page, or **Move workbook to Trash** in the
**Workbook actions** menu (the down arrow after its title) while it's open. The
workbook takes its published dashboard with it.

To move only a published dashboard to the Trash, select **Unpublish dashboard**
in the same **Workbook actions** menu. The workbook stays in the workspace with
its reports and its draft. See [Renaming, unpublishing and moving to the
Trash][ref-workbook-menu].

Cube asks nothing: the item moves right away, and a notification offers
**Undo**.

![Workspace page with the Moved to Trash notification naming the workbook, with the Undo and Dismiss buttons](https://static.cube.dev/docs/organize-content/trash/move-to-trash-undo-light.png)

Moving an item to the Trash needs **Full access** to the workbook. See [Share
content][ref-sharing].

Deleting a folder, or selecting several items on the **Workspace** page and
choosing **Delete**, also moves the workbooks among them to the Trash. See
[Deleting folders][ref-folders-delete].

### What happens to an item in the Trash

An item in the Trash leaves the workspace, search, Home, Favorites, [Analytics
Chat][ref-analytics-chat], the listings of the [MCP server][ref-mcp-server],
and [embedded dashboards][ref-embed-dashboards].

* The [schedules][ref-deliveries] of its dashboard, [alerts][ref-alerts]
  included, pause, and they resume when you restore it.
* The [report deliveries][ref-report-deliveries] of a workbook in the Trash
  don't run, and you can't create, resume, or run one until you restore it.

Publishing a workbook whose dashboard is in the Trash takes that dashboard out
of the Trash. It comes back with its link, versions, sharing, comments,
reviews, schedules, and alerts.

## The Trash page

Click **Trash** at the top right of the **Workspace** page header to open the
Trash. It lists the workbooks and dashboards in the Trash that you can access,
newest first, with these columns:

* **Name** — the item's name, with a workbook or dashboard icon, and a
  **Restore** button.
* **Moved by** — who moved it to the Trash.
* **Moved** — when.
* **Location** — the folder it came from, or **Workspace** if it had none or
  that folder was deleted.

Use the **Search Trash** box to find an item by name. Clicking a row opens the
item.

![Trash page with the Search Trash box, a workbook row and a dashboard row with Restore buttons, the Moved by, Moved and Location columns, and a row menu open with Delete permanently](https://static.cube.dev/docs/organize-content/trash/trash-page-light.png)

## Restoring items

Click **Restore** on a row to put the item back where it was. Cube opens the
item and says where it went, for example **Restored to Workspace**. A workbook
whose folder was deleted is restored to **Workspace**. To restore several items
at once, select their rows and click **Restore**.

Restoring an item needs **Full access** to the workbook.

## Deleting permanently

To delete an item for good, open its row menu (**⋯**) and select **Delete
permanently…**, then confirm. To delete several items at once, select their
rows and click **Delete permanently**.

> [!WARNING]
>
> Deleting permanently can't be undone. It deletes the item with its reports,
> versions, comments, reviews, schedules, and alerts.

Deleting permanently needs **Full access** to the workbook. A dashboard in the
Trash on its own, without its workbook, can be deleted permanently only by its
creator.

## Opening an item in the Trash

A link to a workbook or a dashboard in the Trash still opens it, read-only,
under a banner such as "In the Trash. Moved by Alex on Dec 4, 2026." With **Full
access**, click **Restore** in the banner to restore it.

* On a dashboard, the banner replaces the header's actions.
* In a workbook, the editor is locked: reports, fields, and tabs take no edits.

![Dashboard in the Trash opened by its link, under the banner In the Trash. Moved by Igor on Dec 4, 2026, with the Restore button](https://static.cube.dev/docs/organize-content/trash/trashed-dashboard-light.png)

## Creator Mode

[Creator Mode][ref-creator-mode] embeds have no Trash. Deleting a workbook or
unpublishing a dashboard there is permanent, after a confirmation.

## API

The [Platform API][ref-platform-api] deletes workbooks permanently unless you
ask it to move them to the Trash:

* `DELETE /api/v1/deployments/{deploymentId}/workbooks/{workbookId}` takes the
  optional `trash=true` query parameter.
* [`POST /api/v1/deployments/{deploymentId}/workspace/bulk-delete`][ref-bulk-delete]
  takes `"trash": true` in the request body. Explorations (`REPORT` items) and
  folders are deleted permanently either way.

`DELETE /api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard`
unpublishes a dashboard permanently, with its schedules and alerts. It has no
`trash` option.

Requests made with an [embed session][ref-embed-session] always delete
permanently, even with `trash`. Workbook and dashboard listings leave out the
items in the Trash, and `trashedAt` and `trashedById` say when and by whom a
workbook or a dashboard was moved there.

[ref-workbook-menu]: https://docs.cube.dev/docs/explore-analyze/dashboards#workbook-menu

[ref-sharing]: https://docs.cube.dev/docs/organize-content/sharing.md#workbooks-and-dashboards

[ref-folders-delete]: https://docs.cube.dev/docs/organize-content/folders.md#deleting-folders

[ref-analytics-chat]: https://docs.cube.dev/docs/explore-analyze/analytics-chat.md

[ref-mcp-server]: https://docs.cube.dev/docs/integrations/mcp-server.md

[ref-embed-dashboards]: https://docs.cube.dev/embedding/iframe/dashboards.md

[ref-deliveries]: https://docs.cube.dev/docs/explore-analyze/dashboard-deliveries.md

[ref-alerts]: https://docs.cube.dev/docs/explore-analyze/alerts.md

[ref-report-deliveries]: https://docs.cube.dev/docs/explore-analyze/report-deliveries.md

[ref-creator-mode]: https://docs.cube.dev/embedding/iframe/creator-mode.md

[ref-platform-api]: https://docs.cube.dev/api-reference/introduction.md#platform-api

[ref-bulk-delete]: https://docs.cube.dev/api-reference/workspace/delete-workspace-items-in-bulk.md

[ref-embed-session]: https://docs.cube.dev/reference/embed-apis/generate-session.md


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.