NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Device → Get OS Patches

AI-generated

Summary

Fetch OS patches installed on a specific device identified by its ID, with options to return all patches or limit the number returned.

Inputs

  • Device (required) — The device to fetch OS patches for; supports selecting from a list or by direct ID with expressions.
  • Return All — Whether to return all OS patch results or limit the number of patches returned.
  • Limit — The maximum number of OS patch records to return if 'Return All' is false; range is 1 to 1000, default is 50.

Output shape

a list of OS patch objects, each representing a patch installed on the device

If 'Return All' is false, the list size is limited by the 'Limit' parameter; otherwise, all OS patches are returned for the device.

Examples

Example 1: Retrieve all OS patches for a device with ID 123

Set Device to select device ID 123, set Return All to true.

Example 2: Retrieve up to 10 OS patches for a device identified dynamically

Set Device to use an expression that dynamically provides the device ID, set Return All to false, and Limit to 10.

Links

Discussion