---
title: "重跑漏洞快速检测任务"
method: POST
path: "/v1/kb/vuln/task/restart"
tags: ["策略-漏洞列表"]
---

# 重跑漏洞快速检测任务

`POST /v1/kb/vuln/task/restart`

## Request

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

重跑指定的漏洞快速检测任务（状态置为 waiting，由引擎再次拉取执行）。

## Query parameters

- `space` integer, required

## Request body

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

## Response `200`

- KbVulnKbTaskRestartPOSTResponse: 自定义响应
  - `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/restart/post.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)
