---
title: "Delete a Workflow"
method: DELETE
path: "/v1/templates/{template_id}"
tags: ["Workflows"]
---

# Delete a Workflow

`DELETE /v1/templates/{template_id}`

## Request

- Base URL: `https://api.documentpro.ai`
- URL: `https://api.documentpro.ai/v1/templates/{template_id}`
- Auth: API key in header `x-api-key`

Irreversible. Documents previously processed by this Workflow are not deleted; they're just no longer linked to it.

## Path parameters

- `template_id` string, uuid, required

## Response `200`

Deleted.

- object
  - `success` boolean

## Other responses

- `400`: Malformed request or invalid arguments.
- `404`: The requested resource does not exist on this account.
- `500`: Something went wrong on DocumentPro's side.

---

[API](https://skmtc.dev/documentpro/apis/documentpro-api.md) · [All operations](https://skmtc.dev/documentpro/apis/documentpro-api/llms.txt) · [OpenAPI document](https://skmtc.dev/documentpro/apis/documentpro-api/revisions/05d6bd485e28?raw)
