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 folders

AI-generated

Summary

Archive one or more knowledge base folders by sending their details in a JSON array to the NinjaOne API endpoint for archiving folders.

Inputs

  • items (required) — A JSON array representing the knowledge base folders to be archived.
  • options — Optional parameters including custom request body fields, custom HTTP headers, query filters, batching settings, debug flag, pagination settings, and request timeout.

Output shape

a JSON object representing the response from the archive folders API call, including potential debug information if enabled

The operation sends the provided array of folder items to the POST /v2/knowledgebase/folders/archive endpoint. Returns the API response. When 'debug' option is enabled, the output also includes the actual request URL, headers, query parameters, and body used.

Links

Discussion