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

# Delete a chat, project or account

> How to delete a chat or a project in Newly, what you can restore, and how to delete your account.

This page covers deleting things in Newly (app.newly.app). A deleted chat is gone for good. A deleted project can be restored for 30 days. You can delete your own account, with 30 days to change your mind.

## Delete a chat

You can delete a chat once it's no longer running or parked.

1. In the chat list, open the chat's menu. You can also use the menu in the chat's header.
2. If the chat is running, choose **Stop**. If it's parked, choose **Finish**. Until then, **Delete chat** is unavailable and shows "Stop the session first" or "Finish the session first".
3. Choose **Delete chat**. From the chat list in the web app, Newly asks you to confirm. Otherwise the chat is deleted straight away.

> [!WARNING]
>
> You can't restore a deleted chat.

Deleting a chat doesn't undo the code changes it made. Your project's code stays as it is. To go back to earlier code, use [Restore to here](https://docs.newly.app/code/undo-and-restore.md) before you delete the chat.

In a shared project, only the owner or a project **Admin** can stop, finish, archive or delete a chat. See [Share a project](https://docs.newly.app/code/sharing-projects.md).

## Delete a project

You can delete a project you own. Projects that are shared with you don't show a delete option.

1. Open the project menu from the project name at the top of the sidebar.
2. In the **Projects** tab, press the trash icon next to the project.
3. Newly asks you to confirm: "Its sessions stop now and it disappears from Newly. You can restore it for 30 days; after that everything in it is removed for good."
4. Type the project name exactly, then press **Delete**.

Any chats running in the project stop right away, and the project leaves your project list.

### Restore a deleted project

1. Open the project menu from the project name at the top of the sidebar.
2. Open the **Deleted** tab. When projects are waiting to be removed, the tab shows how many, for example **Deleted (1)**.
3. Each project shows how long is left, for example "Deletes in 12 days".
4. Press the restore icon next to the project.

After 30 days the project and everything in it, including its code, is removed for good and can't be restored.

> [!TIP]
>
> Want a copy of the code before you delete a project? Download it first with the newly CLI. See [Get your code](https://docs.newly.app/code/get-your-code.md).

## Delete your account

1. Open the account menu at the bottom of the sidebar, then select **Account**.
2. Scroll down to **Delete account** and press it.
3. Type your email address to confirm, then press **Delete**.

If you're the sole owner of a team that has other members, transfer ownership of the team first. Newly asks you to do that before it lets you delete.

Deleting cancels your plan right away, with no further charges, and removes your projects. Unused credit isn't refunded.

> [!TIP]
>
> Want a copy of the code before you delete your account? Download it first with the newly CLI. See [Get your code](https://docs.newly.app/code/get-your-code.md).

### Restore a deleted account

You have 30 days to change your mind. Sign back in during that window and Newly offers to restore your account, including your projects and any credit you bought. Your plan stays cancelled. You can start a new one from **Billing**.

After 30 days your account and everything in it are erased for good and can't be restored.


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