# Version Delete करें

किसी dataset version को delete करने पर वह आपके workspace के [Trash](broken://pages/bd9e1222ba25acd9b723f2e1cb4b7771a7189769) में 30 दिनों के लिए चला जाता है, उसके बाद उसे स्थायी रूप से हटा दिया जाता है। आप retention window के दौरान किसी भी समय उसे Trash से restore कर सकते हैं।

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

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

## किसी version को delete करें

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

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

## Restore करें या permanently delete करें

देखें [Trash](broken://pages/bd9e1222ba25acd9b723f2e1cb4b7771a7189769) किसी deleted version को restore करने या 30-day retention window का इंतज़ार किए बिना उसे तुरंत हटाने के लिए। Version का parent project active होना चाहिए (खुद Trash में नहीं) ताकि उसे restore किया जा सके।

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

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

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

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


---

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