NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Device → Reboot Device

AI-generated

Overview

This node interacts with the NinjaOne API to reboot a specified device. It allows users to perform different types of reboots such as normal restart, forced restart, or safe mode restart. Users can specify the device by its ID and optionally set a delay before the reboot occurs. This node is useful in IT management scenarios where remote device control and maintenance are required, such as restarting devices after updates or troubleshooting.

Use Case Examples

  1. Reboot a device normally after a 30-second delay.
  2. Force reboot a device immediately without waiting.
  3. Restart a device in safe mode for troubleshooting purposes.

Properties

Name Meaning
Device ID The unique identifier of the device to be rebooted.
Reboot Mode The type of reboot to perform on the device, such as normal, force, or safe mode.
Delay (seconds) The delay time in seconds before the reboot is initiated.

Output

JSON

  • status - The status of the reboot request, indicating success or failure.
  • message - Additional information or message returned from the reboot operation.

Dependencies

  • NinjaOne API access with OAuth2 credentials

Troubleshooting

  • Ensure the Device ID is correct and the device is reachable via the NinjaOne API.
  • Check that the OAuth2 credentials for NinjaOne API are valid and have sufficient permissions.
  • If the reboot does not occur, verify the selected reboot mode is supported by the device.
  • Network issues or proxy settings might prevent the API request from completing successfully.

Discussion