# 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="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FUKmdzSbRYTyslz3wZKyp%2Fimage.png?alt=media&#x26;token=e649f2f4-3359-4f19-9893-b4c69b64fcc0" 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="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2Fcvrz6F11GfZ7IwG7egZG%2Fimage.png?alt=media&#x26;token=9e55e3f6-8e2f-41b2-ab49-c9962cf0feb4" 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="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FFwdQfIOhS73KbJHnrhCX%2Fimage.png?alt=media&#x26;token=d0b6ad51-47b8-4616-8de9-1ee894dfe9c0" alt="" width="375"><figcaption></figcaption></figure>

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

<figure><img src="https://1648695648-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygZlXb1uCVgursV03Kgn%2Fuploads%2FcNl6FuD2WsZ60OBnSoVy%2Fimage.png?alt=media&#x26;token=097bcd17-3ea0-4387-b0f7-1d5ed9337250" alt="" width="336"><figcaption></figcaption></figure>

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


---

# 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://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.
