> For the complete documentation index, see [llms.txt](https://doc.dataflake.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dataflake.co/query/edit-delete-a-query.md).

# Edit, Delete a query

### Edit a query <a href="#od_146b6a39" id="od_146b6a39"></a>

To edit a query:

1. Select **Queries tab** then we can see all the queries with edit buttons at the right
2. Selecting **Edit** button

<figure><img src="/files/7691hrx2mJtN4JEnJ8Rs" alt="" width="375"><figcaption></figcaption></figure>

3. We can edit data source, the query, its name, cache time, and other information
4. Click **Next** to successfully edit the query

<figure><img src="/files/ZdOIxRY51E2Il1DL5aPJ" alt="" width="375"><figcaption></figcaption></figure>

### Delete a query <a href="#od_15fd9017" id="od_15fd9017"></a>

To delete a query

1. Select **delete** button

<figure><img src="/files/izdQXrSQSsAvYp7Cqc5O" alt="" width="375"><figcaption></figcaption></figure>

2. Select **yes** to delete your query

<figure><img src="/files/3NxjYhgHYNv7jdapftll" alt="" width="336"><figcaption></figcaption></figure>

{% hint style="info" %}
&#x20;You can not undo your action when you delete your query
{% endhint %}
