NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Device → Get Disks

AI-generated

Summary

Retrieve disk information for a specified device using its Device ID with optional authentication methods.

Inputs

  • Authentication — Select the authentication method, either OAuth2 (Authorization Code) or Client Credentials.
  • Device ID (required) — The unique numeric identifier of the device whose disk information you want to retrieve.

Output shape

a list of disk records associated with the specified device

Returns an array of disk objects from the NinjaOne API endpoint /api/v2/device/{deviceId}/disks. The response is normalized into multiple items if an array is returned. Requires the 'deviceId' parameter. Authentication defaults to OAuth2 but Client Credentials can also be used.

Links

Discussion