# Delete a project

Delete a [project](/docs/concepts/project-lifecycle.md#projects) from its **Project information** page. It moves to Trash for 30 days.

## Before you start

You need a project. See [Create a project](/docs/projects/create-project.md).

## Delete a project

**Studio**

1. In the project's sidebar, open **Project settings** > **Project information**.
2. Open **More actions**.
3. Click **Delete project**.
4. Enter the project's slug in **Slug**.
5. Click **Delete project**. You should now see "Project moved to Trash", and the project is no longer in the **Projects** list. You can restore it from Trash within 30 days.

**REST**

1. Set `PROJECT` to your project's ID ([Find your IDs](/docs/authentication/api-keys.md#find-your-ids)): `export PROJECT=<id>`.
2. Delete the project. Your [API key](/docs/authentication/api-keys.md) needs the **Delete** permission:

```bash
curl -X DELETE https://api.veryfront.com/projects/$PROJECT \
  -H "Authorization: Bearer $VERYFRONT_API_KEY"
```

3. Get the project again. You should now see the answer `404`:

```bash
curl -o /dev/null -w "%{http_code}\n" https://api.veryfront.com/projects/$PROJECT \
  -H "Authorization: Bearer $VERYFRONT_API_KEY"
```

## With MCP

1. Call `veryfront__delete_project` with `project_reference` (the project's slug or ID) and `"confirm": true`.
2. Call `veryfront__get_project` with `project_reference`. It worked when it answers "Project not found".

## Next steps

* [Use a template](/docs/start/templates.md)
* [Rename a project](/docs/projects/rename-project.md)
