# Deleting a project

Deleting removes a project for good. This page explains what goes, what stays, and what to do if you deleted a project by mistake.

If you only want the project to stop for a while, [pause it](/docs/projects/pause) instead: nothing is lost.

## What goes

- The code and all its versions.
- Settings, keys and passwords.
- The project's Postgres database, if it has one.
- Its BitHut address. The name is free at once for a new project.
- Its own domains. The domain itself stays yours where you bought it; it only stops pointing at this project.

## Deleting

1. Open the project and the **Settings** tab.
2. Under **Delete the project**, press **Delete the project**.
3. The next page lists what will go. Type the project's name to confirm.
4. Press **Delete** with the project's name.

Your AI can delete a project too, but only after it tells you what goes and you confirm.

A project cannot be deleted while a new version, a data restore or a database copy is running. Wait until it ends.

## Changed your mind

The files in `/data` and the database are kept aside for 7 days after the delete. The cabinet shows the date until which they are kept. Within that time, write to team@bithut.app, and BitHut support can bring them back. After 7 days they are gone, backups too.

## A project BitHut stopped

A project that BitHut stopped for a check under the [usage rules](/terms) cannot be deleted until the check ends. Write to team@bithut.app about it.
