NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Management → Reboot device

AI-generated

Summary

Send a reboot command to a specified device using its identifier and reboot mode, optionally providing a reason and customizing the HTTP request.

Inputs

  • id (required) — Numeric device identifier to target the reboot command.
  • mode (required) — Reboot mode, either NORMAL or FORCED, determining how the device will reboot.
  • reason — Optional stated reason for the reboot, supplied as a string.
  • customBody — Optional arbitrary JSON body to send with the request, merged and overriding other fields.
  • headerFilters — Optional custom HTTP headers to include in the API request.
  • queryFilters — Optional query-string parameters to add to the request URL.
  • batching — Optional settings to batch multiple input items into grouped requests with intervals.
  • debug — Optional flag to output detailed debug information including full request details.
  • timeout — Optional time in milliseconds to wait for the server response before aborting.

Output shape

a JSON object representing the API response to the reboot request

The output contains the raw API response; if debug is enabled, the output includes request URL, headers, query parameters, and body under a debug key for troubleshooting.

Links

Discussion