NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Device → Schedule Maintenance

AI-generated

Summary

Schedule a maintenance window on a specific device by specifying start and end times, optionally disabling alerts during the maintenance period.

Inputs

  • Device (required) — The target device to schedule maintenance for. Can be selected from a list or by entering the device ID, supporting expressions.
  • Maintenance Start (required) — The start date and time of the maintenance window.
  • Maintenance End (required) — The end date and time of the maintenance window.
  • Disable Alerts — Whether alerts should be disabled during the maintenance window; defaults to true.

Output shape

a JSON object representing the scheduled maintenance details for the device.

Returns the response from the NinjaOne API for the maintenance schedule update. Dates provided are converted to UNIX timestamp seconds as required by the API.

Examples

Example 1: Schedule a maintenance window for a device starting on 2024-06-01 22:00 UTC and ending on 2024-06-01 23:00 UTC, with alerts disabled during maintenance.

Set 'Device' to the target device ID or selected device from list, 'Maintenance Start' to 2024-06-01T22:00:00Z, 'Maintenance End' to 2024-06-01T23:00:00Z, and ensure 'Disable Alerts' is set to true.

Links

Discussion