> 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-jp/datasets/dataset-versions/delete-a-version.md).

# バージョンを削除

dataset version を削除すると、workspace の [Trash](/roboflow/roboflow-jp/workspaces/trash.md) に 30日間保存され、その後完全に削除されます。保持期間中であれば、いつでも Trash から復元できます。

その version に対して進行中の学習は、Trash に移動すると自動的にキャンセルされます。削除された version の学習済み model は、その version が復元されるまで提供を停止します。

{% hint style="info" %}
生成画像のクォータに達している場合、version を Trash に移動しても、すぐには使用量は解放されません。生成画像は、その version が完全に削除されたとき（30日間の保持期間の後、または Trash から手動で削除した場合）に回収されます。
{% endhint %}

## version を削除する

1. project の Versions page を開き、削除したい version を選択します。
2. 「Edit Dataset」をクリックし、次に「Delete Version」をクリックします。
3. version 名を入力して確認します。
4. 「Move to Trash」をクリックします。

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

## 復元または完全に削除

こちらを参照 [Trash](/roboflow/roboflow-jp/workspaces/trash.md) 削除した version を復元する方法、または 30日間の保持期間を待たずにすぐに削除する方法について。復元するには、その version の親 project がアクティブである必要があります（Trash 内にあってはなりません）。

## API、SDK、または CLI を使って削除する

version を Trash に移動することもできます：

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

Web app 外で復元するには `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:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/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.
