跳转到主要内容
POST
/
system
/
reboot
/
{cmd}
重启到指定模式
curl --request POST \
  --url http://{host}:{port}/api/v1/superuser/system/reboot/{cmd} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://oom-wg.dev/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

后端管理密码

同时支持 Authorization: Bearer <password>Authorization: <password>

路径参数

cmd
string
必填

要重启到的模式

响应

已请求执行指定重启命令

Last modified on May 26, 2026