> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-hi/datasets/dataset-versions/delete-a-version.md).

# एक Version हटाएँ

किसी dataset version को delete करने पर वह आपके workspace में move हो जाता है [Trash](/roboflow/roboflow-hi/workspaces/trash.md) इसे permanently remove किए जाने से पहले 30 दिनों तक रखा जाता है। आप retention window के दौरान किसी भी समय इसे Trash से restore कर सकते हैं।

version के लिए चल रहा कोई भी training, जब आप उसे Trash में move करते हैं, तो अपने-आप cancel हो जाता है। deleted version के लिए trained model, version को restore किए जाने तक serving बंद कर देता है।

{% hint style="info" %}
यदि आपने अपनी generated image quota पूरी कर ली है, तो किसी version को Trash में move करने से आपकी usage तुरंत free नहीं होती। generated images तब reclaim की जाती हैं जब version permanently delete हो जाता है (या तो 30-day retention window के बाद, या Trash से manually)।
{% endhint %}

## एक version delete करें

1. Project के Versions page को खोलें और उस version को select करें जिसे आप delete करना चाहते हैं।
2. "Edit Dataset" पर क्लिक करें और फिर "Delete Version" पर।
3. Confirm करने के लिए version name टाइप करें।
4. "Move to Trash" पर क्लिक करें।

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

## Restore करें या स्थायी रूप से delete करें

देखें [Trash](/roboflow/roboflow-hi/workspaces/trash.md) किसी deleted version को कैसे restore करें या 30-day retention window का इंतजार किए बिना उसे तुरंत remove करें, इसके लिए। version का parent project restore करने के लिए active होना चाहिए (वह स्वयं Trash में नहीं होना चाहिए)।

## API, SDK, या CLI के माध्यम से delete करें

आप किसी version को निम्न के माध्यम से भी Trash में move कर सकते हैं:

* REST API: `DELETE /:workspace/:project/:version`
* Python SDK: `version.delete()`
* CLI: `roboflow version delete <workspace>/<project>/<version>`

वेब app के बाहर restore करने के लिए use करें `version.restore()` SDK से या `roboflow version restore <workspace>/<project>/<version>` CLI से।


---

# 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.roboflow.com/roboflow/roboflow-hi/datasets/dataset-versions/delete-a-version.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.
