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

UnmanagedDevices → Decommission an Unmanaged Device

AI-generated

Summary

Decommission an unmanaged device in NinjaOne by specifying its node ID, optionally customizing the request body, headers, and query parameters to control the decommissioning API call.

Inputs

  • Node Id (required) — The unique identifier of the unmanaged device to be decommissioned.
  • Options — Optional settings to customize the API request, including custom JSON body fields, additional HTTP headers, query filters, batching parameters, debug mode to log request details, pagination settings for list operations, and request timeout duration.

Output shape

a single JSON object representing the API response to the decommissioning request, including any status or error messages returned by the NinjaOne service.

The output may include a debug entry containing the full API request details if debug mode is enabled. Batching options affect how multiple input items are processed, sending one API request per item with optional delays to avoid rate limiting. Pagination settings are not applicable to this operation as it targets a single resource by node ID.

Links

Discussion