> 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).

# バージョンを削除する

データセットのバージョンを削除すると、あなたの workspace の [Trash](/roboflow/roboflow-jp/workspaces/trash.md) に 30 日間移動され、その後で完全に削除されます。保持期間中であれば、いつでも Trash から復元できます。

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

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

## バージョンを削除する

1. プロジェクトの Versions ページを開き、削除したいバージョンを選択します。
2. "Edit Dataset" をクリックし、次に "Delete Version" をクリックします。
3. 確認のため、バージョン名を入力します。
4. "Move to Trash" をクリックします。

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

## 復元または完全削除

参照: [Trash](/roboflow/roboflow-jp/workspaces/trash.md) 削除したバージョンを復元する方法、または 30 日間の保持期間を待たずにすぐに削除する方法について。復元するには、そのバージョンの親プロジェクトがアクティブである（それ自体が Trash に入っていない）必要があります。

## API、SDK、または CLI から削除する

バージョンを Trash に移動する方法は、次の方法でも可能です:

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

Web アプリ外で復元するには `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-jp/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.
