NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Overview

The "Update Custom Fields" operation for the Device resource in this node allows users to modify custom fields associated with a specific device in the NinjaOne platform. This is useful for dynamically updating metadata or additional information tied to devices, such as asset tags, location details, or any user-defined attributes that help in device management and reporting.

Practical scenarios include:

  • Automatically updating device-specific notes or status flags based on monitoring results.
  • Syncing external system data into device custom fields for unified asset tracking.
  • Adjusting device attributes during automated workflows triggered by events or schedules.

Properties

Name Meaning
Device ID ID of the device to update

Output

The node outputs JSON data representing the result of the update operation on the device's custom fields. This typically includes confirmation of the updated fields and their new values. The output does not explicitly mention binary data handling for this operation.

Dependencies

  • Requires an API key credential for authenticating with the NinjaOne API.
  • The base URL for the API can be configured via credentials or defaults to https://api.ninjaone.com.
  • No other external dependencies are indicated.

Troubleshooting

  • Common Issues:

    • Providing an invalid or non-existent Device ID will likely cause errors.
    • Missing or incorrect API authentication credentials will prevent successful requests.
    • Attempting to update custom fields without specifying required parameters may result in validation errors.
  • Error Messages:

    • Authentication failures: Ensure the API key credential is correctly set up and has necessary permissions.
    • Not Found errors: Verify the Device ID exists in the NinjaOne system.
    • Validation errors: Confirm all required properties are provided and formatted correctly.

Links and References

Discussion