---
title: "Deletes a flow"
method: DELETE
path: "/flows/{id}"
tags: ["flows"]
---

# Deletes a flow

`DELETE /flows/{id}`

Entirely deletes a Flow from the repository. This cannot be reverted. Requires the 'flows.write' permission.

## Path parameters

- `id` string, string, required

## Response `200`

Flow was successfully deleted

## Other responses

- `400` — Invalid ID supplied
- `404` — No Flow with this id was found.
- `409` — Flow is currently not inactive. Only stopped, inactive flows may be deleted.

---

[API](https://skmtc.net/openintegrationhub/apis/flow-repository.md) · [All operations](https://skmtc.net/openintegrationhub/apis/flow-repository/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openintegrationhub/flow-repository/versions/898fa794c6b8/schema)
