latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
System Information

Restart server

This function reboots the server.

get/reboot

Query parameters

force0 | 1

Whether to use a forceful reboot.

  • 1 - Use a forceful reboot.
  • 0 - Do not use a forceful reboot.

Warning:

A forceful reboot may result in data loss if active processes exist on the server.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "reboot",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}