NinjaOne icon

NinjaOne

Interact with the NinjaOne API

Device → Update Custom Fields

AI-generated

Overview

This node operation updates custom fields for a specified device in the NinjaOne platform. It is useful for scenarios where you need to modify or add metadata to devices managed within NinjaOne, such as updating asset tags, location details, or other custom attributes that help in device management and reporting.

Use Case Examples

  1. Updating the location custom field of a device to reflect a new office address.
  2. Adding a custom tag to a device to indicate its assigned department.

Properties

Name Meaning
Device ID The unique identifier of the device whose custom fields are to be updated. This is a required input to specify which device to target for the update.
Request Options Optional settings to control the request behavior, including batching of requests, SSL certificate validation, proxy settings, and request timeout.

Output

JSON

  • customFields - The updated custom fields of the device after the operation.
  • deviceId - The ID of the device that was updated.

Dependencies

  • NinjaOne API with OAuth2 authentication

Troubleshooting

  • Ensure the Device ID is correct and the device exists in NinjaOne to avoid 'device not found' errors.
  • Check API credentials and permissions to confirm the node has rights to update device custom fields.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' option or verify the SSL certificate of the NinjaOne API endpoint.
  • Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.

Links

  • NinjaOne API Documentation - Official API documentation for NinjaOne, useful for understanding available endpoints and data structures.

Discussion