> For the complete documentation index, see [llms.txt](https://docs.itranslator.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itranslator.app/amazing-features/auto-erase.md).

# Auto-Erase

Delete a message and its translations disappear with it. A must-have if you use iTranslator a lot and have active moderators.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-9be7e7315124315c31e43b3ecdf2083739830ff7%2Fautoerase1.gif?alt=media" alt="Deleting a message also deletes its translations"><figcaption></figcaption></figure>

## What is Auto-Erase?

Auto-Erase makes moderation easier: you no longer have to delete every translation of an unwanted message by hand. When it is enabled and you delete a message, the translations linked to it are deleted automatically.

## Enable it

{% tabs %}
{% tab title="Dashboard" %}
Open your server in the [dashboard](/fundamentals/dashboard.md), go to **Server → Configuration** and turn on **Enable** in the **Auto-Erase** card.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-033bfa6915275243104217cc5c90b103cae16a40%2Fdashboard-config.png?alt=media" alt="The Configuration page of the dashboard with the Auto-Erase card"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Command" %}
Run `/autoerase toggle` on your server. The same command turns it off.
{% endtab %}
{% endtabs %}

## Choose the mode

| Mode                   | Behavior                                                                                                                          |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **All** (default)      | When any message is deleted, the original or one of its translations, all the others are deleted too, including the original.     |
| **Only from original** | The translations are deleted only when the **original** message is deleted. Deleting a translation does not delete anything else. |

{% tabs %}
{% tab title="Dashboard" %}
In the **Auto-Erase** card, choose **All** or **Only from original** in the **Mode** menu.
{% endtab %}

{% tab title="Command" %}
Run `/autoerase mode` and choose `ALL` or `ONLY_FROM_ORIGINAL`.
{% endtab %}
{% endtabs %}

## Good to know

{% hint style="info" %}
To link a message to its translations, iTranslator keeps their IDs for a limited time:

* **Premium:** 7 days
* **Free:** 2 days

Older messages are no longer covered by Auto-Erase.
{% endhint %}

{% hint style="danger" %}
Auto-Erase only works on translations sent **after** you enabled the feature.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.itranslator.app/amazing-features/auto-erase.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
