---
title: "更新工单中数据源对应所有SQL的备份策略"
method: PATCH
path: "/v1/tasks/audits/{task_id}/backup_strategy"
tags: ["workflow"]
---

# 更新工单中数据源对应所有SQL的备份策略

`PATCH /v1/tasks/audits/{task_id}/backup_strategy`

update back up strategy for all sqls in task

## Path parameters

- `task_id` string, required

## Request body

- V1UpdateTaskBackupStrategyReq
  - `strategy` 'none' | 'manual' | 'reverse_sql' | 'original_row'

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