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

Organization → Update Field Values

AI-generated

Summary

Update custom field values for a specific Organization by its ID using a PATCH request to the /v2/organization/{id}/custom-fields endpoint.

Inputs

  • id (required) — Numeric ID of the Organization to update.
  • options — Optional parameters including Custom Body (arbitrary JSON payload to override or add request data), Custom Headers (additional HTTP headers), Query Filters (custom query parameters), Batching settings (number of items per batch and interval), Debug (logs request details), Pagination settings (if applicable), and Timeout (request timeout in milliseconds).

Output shape

a JSON object representing the response from the API after updating the custom fields, including any updated field values and metadata.

If Debug is enabled, the output also includes the actual URL, query parameters, headers, and body sent for each request under a 'debug' entry. Supports batching multiple input items with configurable delay to handle rate limits.

Examples

Example 1: Update custom fields on Organization ID 123 with a custom JSON body

Specify 'id' as 123 and provide a Custom Body JSON to define the fields and values to update.

Links

Discussion