# Archive and delete (/docs/guides/archive-and-delete)



Decisions, decision tables, datasets, projects and workspaces can be **deleted without being
erased**: they leave every list and stop answering, but the rows stay and can be restored. Projects
and workspaces can also be **archived** — retired without being deleted at all.

## Archive [#archive]

Archiving a project or workspace removes nothing. What changes:

* It leaves the switchers and cannot be selected as the active project or workspace.
* Its decisions stop answering, and its API keys are refused.
* Its own settings routes still answer, so you can unarchive it.

Unarchive it from **Manage projects** or **Manage workspaces** in the corresponding switcher.

## Delete and restore [#delete-and-restore]

**Delete** soft-deletes an item: it disappears from every listing and its page returns `404`, but it
can be brought back. Find it under **Trash** (on the Decisions, Tables and Datasets pages) or in the
**Manage** dialog (for projects and workspaces), and **Restore** it there.

The key (or slug) is **freed** the moment you delete: deleting a decision whose key is
`loan-approval` renames the stored row, so a new `loan-approval` can be created right away. Restoring
the old one is refused with `409` while that key is taken again, until the new owner is deleted or
purged.

## Delete for good [#delete-for-good]

**Delete forever** (or `?permanent=true` on the API) purges the row and everything that depends on
it. That cannot be undone.

## What a delete does to the audit trail [#what-a-delete-does-to-the-audit-trail]

Deleting a decision keeps its executions, so the project's execution hash chain is untouched. A
purge removes them, and the chain verification then reports the missing links — the same way
retention does.
