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

OrganizationDocuments → Archives organization documents

AI-generated

Summary

Archive multiple organization documents by sending an array of document items to the NinjaOne API endpoint for archiving.

Inputs

  • items (required) — Array of document items to be archived, provided as JSON.
  • options — Optional parameters including custom request body fields (merged with the main body, overriding existing ones), custom HTTP headers, query string filters, batching controls (number of items per batch and interval between batches to avoid rate limits), debug mode to include request details in the output, pagination settings for handling paged responses, and request timeout.

Output shape

a JSON object representing the API response for the archive operation for each batch of items processed

Supports batching of input items with configurable batch size and interval to control API request load; debug mode appends request details to the output. Pagination and other options do not typically apply since this is an archive (POST) operation. Failure on any batch may produce error output for that batch.

Links

Discussion