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

# Delete a project

> See how to delete projects you no longer need.

To delete a project, you must be an organization owner or have the [manage plans permission](https://developer.upsun.com/docs/administration/users.md#organization-permissions).

> [!NOTE]
>
> If your project has custom domains attached, you must remove the default domain  before you can delete the project.
> To do so, run `upsun domain:delete <YOUR_DOMAIN>` or go to your project's **Settings** > **Domains** in the Console.

To delete an Upsun Cloud project, including all data, code, and active environments:

> [tab] In the Console
>
> 1. On the tile of the project you want to delete, click \*\* More\*\*.
> 2. Click **Project settings**.
> 3. Click **Delete project**.
> 4. To confirm your choice, enter the project's name.
> 5. Click **Yes, Delete Project**.

> [tab] Using the CLI
>
> 1. Run the following command:
>
>    ```bash theme={null}
>    upsun project:delete --project <PROJECT_ID>
>    ```
>
> 2. Read the consequences to deletion and enter `y`.
>
> 3. Enter the project title to confirm.

You are billed only for the portion of a month when the project was active.

When you remove all your projects from your user account,
you stop being charged.


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