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

## Changes

- **2019-05-02** `eafe7d98cdb8` — 1 info
  - added the non-success response with the status `409`

[Change history](https://skmtc.dev/openintegrationhub/apis/flow-repository/changes/flows/:id/delete.md)

---

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