---
lang: en
---

# Code

An owner can rebuild the product from scratch, removing a repository rebuilds the pages without it, and deleting the product clears what Cactus learned from its code.

> Verified against the product on 2026-11-20

## Rebuild from scratch

On the product's danger zone, an owner can rebuild the product from nothing. Type the product's name to confirm.

The rebuild needs at least one linked repository, because the build reads from it. Any build still running is cancelled before the rebuild starts.

## Removing a repository

Removing a repository rebuilds the pages without it. If that rebuild cannot start, the product shows that the repository is removed and to press **Rebuild**.

## Deleting the product

Deleting a product clears what Cactus learned from its code. See [Product settings](https://cactus.heycactus.ai/6mcww5-product-settings) for the delete.
