---
title: "杀死 workflow 任务"
method: POST
path: "/admin/workflows/kill"
tags: ["workflow"]
---

# 杀死 workflow 任务

`POST /admin/workflows/kill`

## Request

- The document declares no server URL.
- Auth: none declared

杀死当前运行中的 workflow 任务

## Request body

- ModelKillWorkflowJobReq
  - `type` string, required: "stop" or "kill"

## Response `204`

No Content

## Other responses

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

## Changes

- **2025-05-27** `352f2ee26f41`: 1 info
  - endpoint added
- **2025-02-07** `2e28347b5811`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/changes/admin/workflows/kill/post.md)

---

[API](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api.md) - [All operations](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hust-open-atom-club/apis/apiserver-api/revisions/34214ad5a103?raw)
