# 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 %}


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.dataflake.co/query/edit-delete-a-query.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.
