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

# Deletes a flow template

`DELETE /templates/{id}`

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

## Path parameters

- `id` string, string, required

## Response `200`

Flow Template was successfully deleted

## Other responses

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

---

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