# 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="https://3072847115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvOPn7KQptPWmS5iKg5P0%2Fuploads%2F8LR6UrnhmQlaWZ6l29RZ%2FCustomEntityTypeModelRenameOption.png?alt=media&#x26;token=56273619-08a8-4d5d-89cb-092578c47a77" alt=""><figcaption><p>Edit entity name option in the 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](https://docs.tonic.ai/textual/entity-types/entity-type-custom-model/enabling-and-disabling-the-entity-type-for-datasets "mention").

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

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