latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Server Administration
System Information

Return whether system needs reboot

This function determines if your system requires a reboot to apply quotas, software package updates, or kernel updates.

Important:

This function cannot detect whether your system needs a reboot if you use cPanel & WHM inside of a Linux Container (LXC).

get/system_needs_reboot

Response

HTTP Request was successful.

needs_reboot0 | 1

Whether the system requires a reboot.

  • 1 — System requires a reboot.
  • 0 — System does not require a reboot.

Example response

{
  "details": {
    "kernel": {
      "boot_version": "3.10.0-514.10.2.e17.x86_64",
      "running_version": "3.10.0-514.10.2.e17.x86_64"
    },
    "quota": 1,
    "updates": {
      "glibc": "2.17-157.el7_3.1"
    }
  },
  "metadata": {
    "command": "system_needs_reboot",
    "reason": "OK",
    "result": 1,
    "version": 1
  },
  "needs_reboot": 1
}