---
title: "Deprecate a flow"
method: POST
path: "/whatsapp/flows/{flowId}/deprecate"
tags: ["WhatsApp Flows"]
---

# Deprecate a flow

`POST /whatsapp/flows/{flowId}/deprecate`

Marks a published Flow as deprecated. Once a Flow is published, it cannot be modified or deleted, but can be marked as deprecated.

## Path parameters

- `flowId` string, required

## Response `200`

Successfully deprecated the flow.

- object
  - `success` boolean — Whether the operation was successful.

---

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