# Renaming or deleting a model-based custom entity type

## Renaming the entity type

To change the entity type name, on the entity type details page:

1. Click the actions menu next to the entity type name.

<figure><img src="/files/D5sjKItsG9ih7eR4UBuY" alt=""><figcaption><p>Actions menu for a model-based custom entity type</p></figcaption></figure>

3. In the menu, click **Edit entity name**.
4. On the **Edit Name** panel, provide the new name for the entity type.
5. Click **Save**.

## Deleting the entity type

You cannot delete an entity type that is enabled for any datasets. For information on how to enable and disable an entity type in datasets, go to [Enabling and disabling the entity type for datasets](/textual/entity-types/entity-type-custom-model/enabling-and-disabling-the-entity-type-for-datasets.md).

To delete a model-based custom entity type, in the entity types list, click the delete icon.

On the confirmation panel, click **Delete**.


---

# 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://docs.tonic.ai/textual/entity-types/entity-type-custom-model/entity-type-custom-model-rename.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.
