---
title: "Deprecate WhatsApp Flow"
method: POST
path: "/whatsapp/1/senders/{sender}/flows/{flowId}/deprecate"
tags: ["channels", "whatsapp", "whatsapp-service-management", "whatsapp-flow-management"]
---

# Deprecate WhatsApp Flow

`POST /whatsapp/1/senders/{sender}/flows/{flowId}/deprecate`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/whatsapp/1/senders/{sender}/flows/{flowId}/deprecate`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Deprecate a WhatsApp flow. If successful, flow will change its status to DEPRECATED. From now on flow cannot be sent anymore.

## Path parameters

- `sender` string, required
- `flowId` string, required

## Response `204`

Flow deprecated

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
