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

# Delete a Workflow

Move a workflow to Trash, where it is kept for 30 days before being permanently removed.

Deleting a workflow moves it to your workspace [Trash](https://docs.roboflow.com/platform/workspaces/trash) for 30 days before it is permanently removed. You can restore it from the Trash any time during the retention window.

## Delete a workflow

1. Go to your Workflows dashboard and click the three dots next to the workflow you want to delete.
2. Click "Delete".

<figure><img src="https://1126624165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoO0Ceoy9R0lHDZATcPyh%2Fuploads%2Fgit-blob-cdc972373f79b9c1ce0ae563cce89f2dd66a3f99%2FScreenshot%202025-06-27%20at%2010.43.18.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Type the workflow ID to confirm.

<figure><img src="https://1126624165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoO0Ceoy9R0lHDZATcPyh%2Fuploads%2Fgit-blob-e96f0eec4d2cbc7748942b1626c5f6ec5955022d%2FScreenshot%202025-06-27%20at%2010.46.37.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click "Delete".

## Restore or permanently delete

See [Trash](https://docs.roboflow.com/platform/workspaces/trash) for how to restore a deleted workflow or remove one immediately without waiting for the 30-day retention window.

## Delete via API, SDK, or CLI

You can also move a workflow to Trash through:

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

To restore outside the web app use `workspace.restore_from_trash("workflow", workflow_id)` from the SDK or `roboflow workflow restore <workflow>` from the CLI.
