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

DocumentTemplates → Update document template

AI-generated

Summary

Update an existing document template by specifying its ID and optionally modifying its name, description, mandatory status, fields, technician availability, and allowed technician roles.

Inputs

  • Document Template Id (required) — The unique identifier of the document template to update.
  • Additional Fields — Optional fields including Name (unique template name), Description, Mandatory flag (whether the template is mandatory), Fields (JSON array of fields and UI elements), Available To All Technicians (boolean), and Allowed Technician Roles (JSON array of allowed technician role IDs).
  • Options — Optional settings such as Custom Body (arbitrary JSON to merge into the request body with priority), Custom Headers (custom HTTP headers), Query Filters (query-string parameters), Batching (batch processing settings), Debug (flag to include detailed request info), Pagination (pagination handling for list responses), and Timeout (maximum wait time for response headers).

Output shape

a single updated document template record (JSON object)

Returns the updated document template data as received from the NinjaOne API. If Debug is enabled, the output includes detailed request information under a debug entry. Pagination is not applicable for this update operation.

Links

Discussion