NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Actions120

Custom Field → Update Device Custom Fields

AI-generated

Summary

PATCHes custom field values for a NinjaOne device. Provide the device ID and a JSON object of field names and values; the node sends that object as the request body.

Inputs

  • Authentication — Select OAuth2 (Authorization Code) or Client Credentials; OAuth2 is the default and requires matching NinjaOne credentials.
  • Device ID (required) — Numeric ID of the device whose custom fields to update.
  • Custom Fields (JSON) — JSON object containing the custom field names and values to send. Defaults to {}.

Output shape

A single record, or multiple records if the API response is an array.

Returns the NinjaOne API response as n8n item JSON. If the response is empty, returns {"success":true}. A string value for Custom Fields (JSON) is parsed as JSON before sending.

Links

Discussion