NinjaOne icon

NinjaOne

Consume NinjaOne API

Actions158

Devices → Get Device Disk Drives

AI-generated

Overview

This node interacts with the NinjaOne API to retrieve information about disk drives attached to a specific device. It is useful in IT management and monitoring scenarios where you need to gather hardware details of devices managed within NinjaOne, such as for inventory audits, troubleshooting storage issues, or capacity planning.

For example, an IT administrator can use this node to fetch all disk drives of a particular device by specifying its identifier, enabling automated reporting or integration with other systems.

Properties

Name Meaning
Id The unique identifier of the device whose disk drives you want to retrieve. This is a required numeric value.

Output

The node outputs JSON data representing the disk drives associated with the specified device. The exact structure depends on the NinjaOne API response but typically includes details such as drive identifiers, sizes, types, and status.

No binary data output is produced by this operation.

Dependencies

  • Requires an active NinjaOne API OAuth2 authentication credential configured in n8n.
  • The node makes authenticated HTTP requests to the NinjaOne API endpoints.

Troubleshooting

  • Missing or invalid device Id: Ensure that the "Id" property is provided and corresponds to a valid device in NinjaOne.
  • Authentication errors: Verify that the NinjaOne API credentials are correctly set up and have sufficient permissions.
  • API request failures: Network issues or NinjaOne service outages may cause errors; check connectivity and NinjaOne service status.
  • Binary data errors: Not applicable for this operation since it does not handle binary data.

Common error messages will relate to failed HTTP requests or missing parameters. To resolve, confirm input correctness and credential validity.

Links and References

Discussion