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 → Update an Unmanaged Device

AI-generated

Summary

Update an existing unmanaged device by specifying its node ID along with required fields such as name, organization ID, and location ID, optionally including assigned user, warranty dates, and asset details. Customize the request body, headers, and query parameters if needed, and control batching, debugging, and request timeouts.

Inputs

  • nodeId (required) — The node ID of the unmanaged device to update.
  • name (required) — The display name for the device.
  • orgId (required) — The ID of the organization to which the device belongs.
  • locationId (required) — The ID of the location to which the device belongs.
  • additionalFields — Optional fields including assigned user UUID, warranty start and end dates (in Unix epoch seconds), and asset fields as JSON.
  • options — Optional settings including custom JSON body to override fields, custom HTTP headers, query string filters, batching options for processing multiple items, debug flag to include request details in output, and timeout configuration.

Output shape

a single JSON object representing the updated unmanaged device as returned by the API

Response shape depends on the NinjaOne API response to the update request. If debug is enabled, output includes request URL, query params, headers, and body sent. Supports batch processing with one request per item.

Examples

Example 1: Update device with mandatory fields

Provides nodeId, name, orgId, and locationId to rename and relocate the unmanaged device.

Example 2: Update device with additional asset fields and warranty dates

Sets optional assigned user UUID, warranty start/end dates, and asset fields JSON to enrich device data.

Links

Discussion