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

Users → Update Field Values

AI-generated

Summary

Send a PATCH request to update custom field values of a specific end user by their ID in NinjaOne.

Inputs

  • id (required) — Numeric identifier of the end user whose custom fields will be updated.
  • options.customBody — Optional JSON object to send arbitrary fields in the request body. These values will override predefined fields if set.
  • options.headerFilters — Optional array of custom HTTP headers to include in the PATCH request.
  • options.queryFilters — Optional query string parameters to filter or customize the request.
  • options.batching — Optional settings to batch multiple input items, specifying items per batch and wait interval.
  • options.debug — Boolean flag to include detailed request information like URL, headers, query parameters, and body in the node output for troubleshooting.
  • options.pagination — Settings related to pagination, not typically relevant for this update operation.
  • options.timeout — Timeout in milliseconds to wait for response headers before aborting the request. Defaults to 300000 (5 minutes).

Output shape

a single record representing the updated user's custom field values as returned by the PATCH request

Includes the API response in the node output. When debug is enabled, additional request details are included under a debug property. Pagination settings are available but generally not applicable to this single-resource update operation.

Examples

Example 1: Update custom field values for user with ID 1234

Set 'Id' to 1234 and provide custom JSON fields to update in 'Custom Body'. Optionally add headers or query filters if the API requires them.

Links

Discussion