> 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/workflows/delete-a-workflow.md).

# Workflow を削除

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

## workflow を削除する

1. Workflows ダッシュボードに移動し、削除したい workflow の横にある三点リーダーをクリックします。
2. 「Delete」をクリックします。

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

3. 確認のため、workflow ID を入力します。

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

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

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

こちらを参照 [Trash](/roboflow/roboflow-jp/workspaces/trash.md) 削除した workflow を復元する方法、または 30 日の保持期間を待たずにすぐに削除する方法については、

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

次の方法でも workflow を Trash に移動できます：

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

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