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

# Danger zone

> Preview link controls and site deletion. Deleting a site removes every experiment, every event and every asset, and there is no undo.

**Site → Settings → Danger zone.** The tab opens only for Admins. A Dev
who holds the **Access danger zone** permission can use these actions
through the API, but does not see the tab in the dashboard.

The tab has two cards: **Preview links** and **Delete site**.

![Settings: Danger zone](https://mintcdn.com/abtestly/NkoijVroceZwA6td/images/settings-danger-zone.png?fit=max\&auto=format\&n=NkoijVroceZwA6td\&q=85\&s=2a09946525b4bf0d1b52355befb937be)

Settings: Danger zone.

## Preview links

* **Allow long lived preview links.** Preview links normally stop working
  after 24 hours. Turn this on and new links last 90 days, so unpublished
  code stays reachable for longer. Leave it off unless a client review
  needs it.
* **Revoke all preview links.** Every preview link for the site stops
  working at once, share links and QA session links alike, including ones
  your team has already shared. You confirm in a dialog first.

See [Preview links](https://docs.abtestly.com/preview/preview-modal.md) for how links are made and
secured.

## Delete site

The **Delete site** button removes the site and everything on it.

## What deletion actually does

* **Every experiment on the site is deleted.** Live, paused,
  archived, everything.
* **Every event in the ledger for this site is purged.** Not
  soft-deleted. Purged.
* **Every uploaded asset is scheduled for R2 deletion.** Any variant
  or email referencing the asset URL will 404 within a few minutes.
* **Every goal, location, audience, exclusion group is removed.**
* **The snippet on the site stops being valid.** Requests to the
  snippet URL will return an empty stub. Deployed pages with the
  snippet will still load; the snippet just does nothing.

## What deletion does not do

* **Does not remove the site from the workspace's usage count for
  the current billing period.** MTU already used counts for the
  month.
* **Does not un-invoice a paid plan.** For a refund, see
  [Refunds](https://docs.abtestly.com/billing/refunds.md).

## The confirmation

Deletion asks you to type the site's name into a confirmation field,
and **Delete permanently** stays disabled until it matches. That
friction is deliberate: muscle memory should not be able to delete a
site.

## No undo

We do not keep hidden backups. When it is deleted, it is deleted.

## Alternatives to deletion

Before you delete, consider:

* **Archive the site.** Not currently a first-class action, but you
  can archive every experiment on it and leave the site itself
  empty. That preserves the historical data and the snippet key.
* **Cancel the subscription instead.** Your site stays and every
  running experiment keeps running. At the end of the period the
  account moves to the Free tier limits, which cap what you can start
  rather than switch anything off. An account created on or after
  5 September 2026, when the free tier closed to new signups, cannot
  create a new experiment there until it subscribes again. See
  [Refunds](https://docs.abtestly.com/billing/refunds.md) and [the Free tier](https://docs.abtestly.com/plans.md#the-free-tier).
* **Rename the site.** If the reason you want to delete is that the
  name is wrong or the domain moved, edit the site instead of
  starting over.

Deletion is the right call when you genuinely want the site gone.
you sold the domain, you moved off the product, you want to start
completely fresh. Otherwise, one of the above is usually a better
fit.


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