> For the complete documentation index, see [llms.txt](https://docs.zata.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zata.ai/manage/bucket/storing-objects-in-a-bucket/delete-and-restore-object-in-zata.md).

# Delete and Restore Object in Zata

First, upload an object  into the bucket.

<figure><img src="/files/dvdpWjRRhyWGuC2iSUpZ" alt=""><figcaption></figcaption></figure>

**To Delete an Object:**

* Click on the **Actions (three dots)** next to the object.
* Select **Delete**.
* The object will be removed from the main object list.

<figure><img src="/files/hyZCIRsBBuGuc4f6ba10" alt=""><figcaption></figcaption></figure>

After deleting the object:

* Enable the **Show Versions** option.
* The deleted object will appear with a **Delete Marker**.The Delete Marker indicates that the object is deleted but not permanently removed.

<figure><img src="/files/HlwSyfuB6MbT3Sgd3ZTG" alt=""><figcaption></figcaption></figure>

**To Restore the Object:**

* Click on the **Actions (three dots)** of the **Delete Marker**.
* Select **Remove Marker**.

<figure><img src="/files/gQlaz7ykMsXTlPjOV524" alt=""><figcaption></figcaption></figure>

After removing the Delete Marker, the object becomes visible again in the bucket and is successfully restored.

<figure><img src="/files/dvdpWjRRhyWGuC2iSUpZ" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
In Zata, the restore operation is performed using the **Remove Marker** option. Removing the Delete Marker automatically restores the object.
{% 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, and the optional `goal` query parameter:

```
GET https://docs.zata.ai/manage/bucket/storing-objects-in-a-bucket/delete-and-restore-object-in-zata.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
