---
title: "更新Sql审批流程模板"
method: PATCH
path: "/v1/projects/{project_name}/workflow_template"
tags: ["workflow"]
---

# 更新Sql审批流程模板

`PATCH /v1/projects/{project_name}/workflow_template`

update the workflow template

## Path parameters

- `project_name` string, required

## Request body

- V1UpdateWorkflowTemplateReqV1
  - `allow_submit_when_less_audit_level` 'normal' | 'notice' | 'warn' | 'error'
  - `desc` string
  - `workflow_step_template_list` V1WorkFlowStepTemplateReqV1[]
    - `approved_by_authorized` boolean
    - `assignee_user_id_list` string[]
    - `desc` string
    - `execute_by_authorized` boolean
    - `type` 'sql_review' | 'sql_execute'

## Response `200`

OK

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

## Changes

- **2025-06-24** `ea902136997f` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/actiontech/apis/sqle-api-docs/changes/v1/projects/:project_name/workflow_template/patch.md)

---

[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/aa0c4aeac277/schema)
