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 storage volumes

AI-generated

Summary

Retrieve a list of storage volumes for a specific device identified by its ID from the NinjaOne platform.

Inputs

  • id (required) — The numeric identifier of the device to retrieve storage volume information for.
  • returnAll — Boolean flag to determine whether to retrieve all pages of storage volumes or just a single page.
  • additionalFields.include — Specify additional information to include, such as BitLocker status ('bl').
  • options.customBody — Optional JSON object to send arbitrary custom data in the API request body, which merges with other parameters and takes priority.
  • options.headerFilters — Custom HTTP headers to add to the API request.
  • options.queryFilters — Custom query-string filters as key-value pairs to apply to the request.
  • options.batching — Batch settings to group input items and pause between batches to avoid rate limiting.
  • options.debug — Include detailed debug information with request URLs, headers, query parameters, and body in the node output.
  • options.pagination — Settings to configure pagination behavior, including pagination mode, page size, page parameter names, cursor paths, maximum pages, and request intervals.
  • options.timeout — Timeout in milliseconds to wait for the server response headers before aborting the request (default 300000).

Output shape

a list of storage volume records associated with the specified device

If 'Return All' is false, only one page of volumes is returned; otherwise, the node handles pagination according to configured settings. The response may include additional information if requested via the 'include' field. Debug information is included in output if enabled.

Examples

Example 1: Get all storage volumes for device ID 123 including BitLocker status

Set 'id' to 123, set 'returnAll' to true, and 'additionalFields.include' to 'bl'.

Links

Discussion