> For the complete documentation index, see [llms.txt](https://icij.gitbook.io/datashare/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://icij.gitbook.io/datashare/usage/faq/general/can-i-remove-a-document-from-datashare.md).

# Can I remove document(s) from Datashare?

In **local** mode, you *cannot* remove a single document or a selection of documents from Datashare. But you can remove **all your projects and documents** from Datashare.

Open the **menu** and on the bottom of the menu, click the **trash icon**:

<figure><img src="/files/0CztosAeiotD6QWLh7Xi" alt="Screenshot of Datashare&#x27;s homepage with the menu and the trash icon at the bottom right of the menu highlighted"><figcaption></figcaption></figure>

A confirmation window opens. The action cannot be undone. It removes all the projects and their documents from Datashare. Click '**Yes**' if you are sure:

<figure><img src="/files/Z4uaEDRRRcmpALCt5ra1" alt="Screenshot of Datashare&#x27;s homepage with a confirmation modal to delete all projects and documents highlighted"><figcaption></figcaption></figure>

***For advanced users** -* if you'd like to do it with the Terminal, here are the instructions:

* If you're using Mac: `rm -Rf ~/Library/Datashare/index`
* If you're using Windows: `rd /s /q "%APPDATA%"\Datashare\index`
* If you're using Linux: `rm -Rf ~/.local/share/datashare/index`


---

# 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://icij.gitbook.io/datashare/usage/faq/general/can-i-remove-a-document-from-datashare.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.
