NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Update Custom Fields

AI-generated

Summary

Update custom field values on a specific device identified by its Device ID.

Inputs

  • Authentication (required) — Choose the authentication method between OAuth2 (Authorization Code) and Client Credentials.
  • Device ID (required) — The unique numeric identifier of the device whose custom fields will be updated.
  • Custom Fields (JSON) (required) — A JSON object representing the custom fields and their new values to update on the specified device.

Output shape

a single record representing the updated device custom fields or confirmation of update.

The update is performed via a PATCH request to the device's custom fields endpoint; the node returns the API's response for the update operation.

Examples

Example 1: Update device custom fields for a device with ID 12345

Set Authentication to OAuth2, provide Device ID as 12345, and pass a JSON with custom fields to update, e.g. {"fieldA": "valueA", "fieldB": 10}.

Links

Discussion