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

KnowledgeBaseArticles → Archive knowledge base articles

AI-generated

Summary

Archive multiple knowledge base articles by sending their details in the request body to the NinjaOne API's archive endpoint.

Inputs

  • items (required) — Array of knowledge base articles items to archive, provided as JSON.
  • options — Optional additional settings including custom request body JSON that overrides the provided items, custom HTTP headers, query string filters, batching parameters for sending requests in groups, debug mode to include request details in the response, pagination settings for list operations, and request timeout duration.

Output shape

a JSON response object containing the API's archive operation result for the provided knowledge base articles, optionally including debug information when enabled.

The request body merges the 'items' JSON array with any custom JSON in 'Custom Body', where custom values take priority. Batching options, if set, cause the node to send requests in groups with pauses to handle rate limits. Debug mode appends detailed request info to the output. Pagination options apply only to list operations and do not affect this archive action.

Examples

Example 1: Archive three knowledge base articles

Set 'items' to an array of three article objects with their IDs and necessary fields. Optionally enable 'Debug' to capture request details for troubleshooting.

Links

Discussion