---
title: "更新工单（工单被驳回、工单被关闭、执行成功、执行失败后才可更新）"
method: PATCH
path: "/v2/projects/{project_name}/workflows/{workflow_id}/"
tags: ["workflow"]
---

# 更新工单（工单被驳回、工单被关闭、执行成功、执行失败后才可更新）

`PATCH /v2/projects/{project_name}/workflows/{workflow_id}/`

update workflow when it is rejected to creator.

## Path parameters

- `workflow_id` string, required
- `project_name` string, required

## Request body

- V2UpdateWorkflowReqV2
  - `desc` string
  - `task_ids` integer[]

## Response `200`

OK

- ControllerBaseRes
  - `code` integer
  - `message` string

---

[API](https://skmtc.dev/actiontech/apis/sqle-api-docs.md) · [All operations](https://skmtc.dev/actiontech/apis/sqle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/actiontech/sqle-api-docs/revisions/3e36a0067703/schema)
