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

AI-generated

Summary

Create a new unmanaged device in the NinjaOne system by specifying required device details such as name, organization ID, location ID, and role ID, with optional additional fields.

Inputs

  • name (required) — The display name of the unmanaged device to create.
  • orgId (required) — The ID of the organization to which the device belongs.
  • locationId (required) — The ID of the location where the device is located.
  • roleId (required) — The role ID to assign to the device; must be a sub-role of 'Unmanaged Device'.
  • additionalFields — Optional additional data including assigned user UUID, warranty start and end dates (in Unix epoch seconds), and asset-specific fields as JSON.
  • options — Optional settings such as sending a custom JSON body merged with standard inputs, adding custom HTTP headers, query string filters, batching controls, debug output, pagination handling, and request timeout configuration.

Output shape

a single JSON object representing the newly created unmanaged device

The output contains the details returned by the NinjaOne API after the device creation request; when debug is enabled, API request details are included in the output under a debug entry. Pagination settings do not apply because this is a create operation.

Links

Discussion