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 → Organization location backup usage

AI-generated

Summary

Retrieve backup usage statistics for a specific location within an organization by providing the organization ID and location ID.

Inputs

  • id (required) — The unique identifier of the organization to query.
  • locationId (required) — The unique identifier of the location within the organization to retrieve backup usage data for.
  • returnAll — Boolean flag to indicate whether to return all pages of backup usage data or just a single page.
  • options — Additional optional parameters including custom request body (merged over defaults), custom HTTP headers, query string filters, pagination settings (pagination mode, page size, cursor, max pages, etc.), batching controls (batch size and interval), debugging flag, and request timeout in milliseconds.

Output shape

a list of backup usage records corresponding to the specified organization location, potentially paginated depending on parameters

Pagination can be controlled or disabled via the 'returnAll' flag and detailed pagination options; enabling debug will include the full request details in the output for troubleshooting.

Links

Discussion