---
title: "Deprecate flow api"
method: POST
path: "/app/{appId}/flows/{flowId}/deprecate"
tags: ["Flow management"]
---

# Deprecate flow api

`POST /app/{appId}/flows/{flowId}/deprecate`

## Path parameters

- `appId` string, required
- `flowId` string, required

## Headers

- `token` string, required

## Response `200`

Success

- DeprecateFlowJsonResponse
  - `status` string
  - `success` boolean

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - no permissions to access resource
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/gupshup/apis/partner-portal-public-apis.md) · [All operations](https://skmtc.net/gupshup/apis/partner-portal-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupshup/partner-portal-public-apis/versions/1846573c8f87/schema)
