# Workflow を削除

ワークフローを削除すると、ワークスペースに移動されます [Trash](broken://pages/26b3274c9e706a0dfcf2a5df33684507d4da58ad) に 30 日間移動され、その後完全に削除されます。保持期間中であれば、いつでも Trash から復元できます。

## ワークフローを削除する

1. Workflows dashboard に移動し、削除したいワークフローの横にある3つのドットをクリックします。
2. 「Delete」をクリックします。

<figure><img src="/files/9eef1011f2b04a4759d4a9dc3a0fc9500f0b8a88" alt=""><figcaption></figcaption></figure>

3. 確認のため、ワークフロー ID を入力します。

<figure><img src="/files/8b3d0db4b97a7d84a89144a91f1f8a1ca7d5c2e5" alt=""><figcaption></figcaption></figure>

4. 「Delete」をクリックします。

## 復元または完全削除

参照 [Trash](broken://pages/26b3274c9e706a0dfcf2a5df33684507d4da58ad) 削除したワークフローを復元する方法、または30日間の保持期間を待たずにすぐに削除する方法について。

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

次の方法でもワークフローを Trash に移動できます:

* REST API: `DELETE /:workspace/workflows/:workflow`
* Python SDK: `rfapi.delete_workflow(api_key, workspace, workflow_url)`
* CLI: `roboflow workflow delete <workflow>`

Web アプリ以外で復元するには `workspace.restore_from_trash("workflow", workflow_id)` を SDK から、または `roboflow workflow restore <workflow>` を 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-jp/workflows/delete-a-workflow.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.
