# Rename, delete smart contracts

## How to rename smart contracts

From the [Contracts](https://dispatch.esprezzo.io/contracts/overview) page, find the contract you wish to rename.

At the right end of the row for the selected contract, click on the ••• button and select the "Rename" option.

Type in the new nickname you want for your contract.

## How to delete smart contracts

{% hint style="danger" %}
Deleting smart contracts from Dispatch will also delete the Patches that are using those smart contracts.
{% endhint %}

From the [Contracts](https://dispatch.esprezzo.io/contracts/overview) page, find the contract you wish to rename.

At the right end of the row for the selected contract, click on the ••• button and select the "Delete" option.

Press the "Delete" button.


---

# 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.esprezzo.io/smart-contract-activity/rename-delete-smart-contracts.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.
