---
title: "重启内核"
method: POST
path: "/restart"
tags: ["运行配置"]
---

# 重启内核

`POST /restart`

重启内核。

## Request body

- PathPayloadBody — 路径 / 内容载荷。path 指定配置文件路径，payload 直接传入配置内容；二者均可留空以使用当前配置。
  - `path` string
  - `payload` string

## Response `200`

已接受重启请求。

- object
  - `status` string

---

[API](https://skmtc.net/oom-wg/apis/mihomo-api.md) · [All operations](https://skmtc.net/oom-wg/apis/mihomo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oom-wg/mihomo-api/versions/d1b285042ccc/schema)
