NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Management → Run OS patch apply

AI-generated

Summary

Send a POST request to apply an OS patch on a specified device in NinjaOne by providing the device ID.

Inputs

  • Id (required) — The numeric identifier of the device on which to apply the OS patch.
  • Options — Optional settings including Custom Body JSON to override the request body, Custom Headers to add HTTP headers, Query Filters to append query parameters, Batching settings to control batch size and interval, Debug flag to include detailed request data in the output, Pagination configuration (though not typically relevant for this action), and Timeout to set the request wait limit in milliseconds.

Output shape

a JSON object representing the response from the NinjaOne API endpoint that applies the OS patch to the specified device

Includes raw API response data. When Debug is enabled, output includes HTTP request details such as URL, headers, query parameters, and body sent. The operation makes a single POST request per input item, but batching properties allow grouping multiple requests sequentially with pauses between batches.

Links

Discussion