NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Maintenance

AI-generated

Summary

Set or update the maintenance mode time window for a specified device in NinjaOne using Unix timestamp values for start and end times.

Inputs

  • Authentication — Choose the authentication method: OAuth2 (Authorization Code) or Client Credentials. Defaults to OAuth2.
  • Device ID (required) — The numeric ID of the device to set maintenance mode for.
  • Start (Unix Timestamp) — The start time of the maintenance window as a Unix timestamp (seconds since epoch).
  • End (Unix Timestamp) — The end time of the maintenance window as a Unix timestamp (seconds since epoch).

Output shape

a single record

Returns the response from the NinjaOne API for setting the device's maintenance mode, typically including the updated maintenance window details or a success confirmation.

Links

Discussion