---
title: "批量删除漏洞快速检测任务"
method: DELETE
path: "/v1/kb/vuln/task/batch-delete"
tags: ["策略-漏洞列表"]
---

# 批量删除漏洞快速检测任务

`DELETE /v1/kb/vuln/task/batch-delete`

## Request

- The document declares no server URL.
- Auth: API key in header `Token`

根据任务 ID 列表批量删除漏洞快速检测任务记录。

## Query parameters

- `space` integer, required

## Request body

- CommonPKListValidatorRequest
  - `pk` integer[]: 主键ID列表

## Response `200`

- KbVulnKbTaskBatchDeleteDELETEResponse: 自定义响应
  - `code` integer: 状态码
  - `message` string: 提示信息
  - `data` object: 无返回数据（空对象 {}）

## Other responses

- `401`: 未认证
- `404`: 资源不存在

## Changes

- **2026-11-12** `b4a5be2f291d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chaitin/apis/cloud-atlas-openapi/changes/v1/kb/vuln/task/batch-delete/delete.md)

---

[API](https://skmtc.dev/chaitin/apis/cloud-atlas-openapi.md) - [All operations](https://skmtc.dev/chaitin/apis/cloud-atlas-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/chaitin/apis/cloud-atlas-openapi/revisions/b4a5be2f291d?raw)
