---
title: "更新SQL版本信息"
method: PATCH
path: "/v1/projects/{project_name}/sql_versions/{sql_version_id}/"
tags: ["sql_version"]
---

# 更新SQL版本信息

`PATCH /v1/projects/{project_name}/sql_versions/{sql_version_id}/`

update sql version

## Path parameters

- `project_name` string, required
- `sql_version_id` string, required

## Request body

- V1UpdateSqlVersionReqV1
  - `desc` string
  - `update_sql_version_stage` V1UpdateSqlVersionStage[]
    - `name` string
    - `stage_sequence` integer
    - `update_stages_instance_dep` V1UpdateStagesInstanceDep[]
      - `next_stage_instance_id` string
      - `stage_instance_id` string
  - `version` string

## Response `200`

OK

---

[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)
