跳转到主要内容
POST
/
system
/
reboot
重启或关闭设备
curl --request POST \
  --url http://{host}:{port}/api/v1/superuser/system/reboot \
  --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>

查询参数

shutdown
string

查询参数中包含 shutdown 时请求关机,否则请求重启

响应

已请求执行电源操作

Last modified on May 26, 2026