---
title: "重置定时任务子任务状态"
method: POST
path: "/task/monitor/scheduled/reset"
tags: ["任务监控"]
---

# 重置定时任务子任务状态

`POST /task/monitor/scheduled/reset`

将定时任务的所有子任务状态重置为等待中(1)，用于修复状态异常的情况

## Query parameters

- `task_id` integer, required

## Response `200`

OK

- ResultResult
  - `code` integer — 状态码
  - `data` unknown
  - `message` string — 提示信息

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/revisions/25cac8835c4c/schema)
