---
title: "Updates an existing flow owned by the authenticated user."
method: PATCH
path: "/Multishock/Flow/{flowId}"
tags: ["Multishock", "Multishock"]
---

# Updates an existing flow owned by the authenticated user.

`PATCH /Multishock/Flow/{flowId}`

## Path parameters

- `flowId` string, required

## Request body

- ApproveFlowRequest — Request model for approving or unapproving a flow.
  - `IsApproved` boolean — Whether the flow is approved.

## Response `200`

Success

- UploadFlowResponse — Response model for flow upload.
  - `Success` boolean — Whether the upload was successful.
  - `FlowId` integer, nullable — The database ID of the uploaded flow.
  - `Error` string, nullable — Error message if the upload failed.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

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