NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Get OS Patches

AI-generated

Summary

Retrieve the OS patch report for a specified device by its Device ID from NinjaOne.

Inputs

  • Authentication (required) — Select the authentication method: OAuth2 (Authorization Code) or Client Credentials.
  • Device ID (required) — The numeric ID of the device to retrieve OS patches for.

Output shape

a single JSON object representing the OS patch report for the given device

The operation always returns the OS patches data for the specified device ID as a JSON object. Authentication is required. No pagination or multiple items are returned.

Examples

Example 1: Get OS patches for a specific device

Set 'Authentication' to your preferred method and provide the 'Device ID' of the device you want the OS patches for.

Links

Discussion