> For the complete documentation index, see [llms.txt](https://docs.iotify.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iotify.io/concepts/workspaces/deletion-of-workspaces.md).

# Deletion of Workspaces

While it is quite convenient to create new workspaces for each project, managing multiple workspaces can quickly become a hassle and a waste of precious resources. Especially when the project at hand is complete. Hence, it can be a good idea to delete workspaces when they are not needed.

Firstly, there are two types of Workspaces, the default workspace created for a user when they join the platform and the ones that are created thereafter. The permission requirements are different for the two, but the steps are the same.

To delete a default workspace, one needs to be a `root user` for the workspace. For the other workspaces, the user would need to be an `admin user`.

Now that we know which roles have the ability to delete a workspace, let's move forward. First, go to the Workspace management console again. Here you will be able to see a Delete Workspace button on the top right of the screen. Click on this button.

<figure><img src="/files/V6CycVgQqKO0n9Nttgex" alt=""><figcaption></figcaption></figure>

A popup will appear asking you to confirm whether you want to delete the workspace, click on Ok. If you have valid permissions, the workspace and all its entities will be deleted.

<figure><img src="/files/dL1Wv9XpE2MHFk2NjwPL" alt=""><figcaption></figcaption></figure>

Once the current workspace is deleted you will be redirected to another workspace you're a part of. If you deleted your default workspace, then a new default workspace will be created and you'll be redirected to it.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.iotify.io/concepts/workspaces/deletion-of-workspaces.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
