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

Devices → Device disk drives

AI-generated

Summary

Retrieve the disk drive information for a specified device by its ID, optionally supporting pagination and filter options to control which disk drives are returned and how much data is fetched.

Inputs

  • id (required) — The unique identifier of the device whose disk drives you want to retrieve.
  • returnAll — Whether to return all disk drives across all pages (true) or only a single page of results (false). Defaults to false.
  • options — Additional optional settings including custom HTTP headers, query string filters, request batching parameters, debug output toggle, pagination method and parameters, custom request body modifications, and request timeout.

Output shape

a list of disk drive records associated with the specified device

If 'returnAll' is false, returns only a single page of disk drives according to pagination settings. Pagination can be configured for offset-, cursor-, or URL-based pagination modes. When 'debug' option is enabled, a debug entry is included in the output showing the full request details.

Links

Discussion