# How to delete cases

In order to prevent accidental data loss, deleting cases in Emedgene includes a staging step before permanent case deletion.

{% stepper %}
{% step %}

### Move a case to trash

[Update the case status](/emedgene/emedgene-analyze-manual/reviewing_a_case/case_status/how-to-update-a-case-status.md) to **Move to trash** (≤v37.0) or **Trash bin** (v38.0+).

Once moved to trash, the case becomes inaccessible. This can be reversed by replacing **Move to trash** or **Trash bin** with a different status.
{% endstep %}

{% step %}

### Empty trash folder (v37.0+)

Authorized users can permanently delete all items in the trash. To do this:

1. Click **Empty trash** on the [Cases table navigation panel](/emedgene/emedgene-analyze-manual/getting_around_the_platform/cases_tab/cases-table-navigation-panel.md).
2. Review the warning message showing the number of cases pending deletion.
3. Confirm to permanently delete all cases in the trash.

{% hint style="warning" %}
**Warning:** Once trash folder is emptied, this action cannot be undone. Review cases pending deletion before proceeding!
{% endhint %}

<div align="left"><figure><img src="/files/kg81MbNqDAY0sCgBb4be" alt="" width="563"><figcaption></figcaption></figure></div>

After deletion is confirmed:

* All cases marked **Move to trash** are permanently removed
* An activity entry is recorded
* Email notifications are sent to users who have opted in
  {% endstep %}
  {% endstepper %}


---

# Agent Instructions: 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:

```
GET https://help.connected.illumina.com/emedgene/emedgene-analyze-manual/getting_around_the_platform/cases_tab/how-to-delete-cases.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
