---
title: "Undeploy a workflow"
method: DELETE
path: "/api/workflows/{workflow_id}/deployments/"
tags: ["workflows"]
---

# Undeploy a workflow

`DELETE /api/workflows/{workflow_id}/deployments/`

Disable the deployed version in an existing workflow family. The operation is idempotent when the family has no active deployment.

## Path parameters

- `workflow_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Successful response

## Other responses

- `401` — Authentication failed.
- `404` — Workflow family not found.

---

[API](https://skmtc.dev/respan/apis/api-reference.md) · [All operations](https://skmtc.dev/respan/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/respan/api-reference/revisions/764fca4d43e4/schema)
