---
title: "更新扫描任务"
method: PATCH
path: "/v1/projects/{project_name}/audit_plans/{audit_plan_name}/"
tags: ["audit_plan"]
---

# 更新扫描任务

`PATCH /v1/projects/{project_name}/audit_plans/{audit_plan_name}/`

update audit plan

## Path parameters

- `project_name` string, required
- `audit_plan_name` string, required

## Request body

- V1UpdateAuditPlanReqV1
  - `audit_plan_cron` string
  - `audit_plan_instance_database` string
  - `audit_plan_instance_name` string
  - `audit_plan_params` V1AuditPlanParamReqV1[]
    - `key` string
    - `value` string
  - `rule_template_name` 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)
