AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

The "Update Location" operation within the "Management" resource allows users to modify details of an existing location entity. This node is useful in scenarios where location information such as name, address, description, custom attributes, tags, or other fields need to be updated dynamically as part of an automated workflow. For example, a company might use this node to update office location details after renovations or changes in contact information.

Properties

Name Meaning
Id Numeric identifier for the management entity (required).
Location Id Numeric identifier of the specific location to update (required).
Additional Body Fields Optional collection of additional fields to update on the location:
- Name The new name of the location.
- Address The new address of the location.
- Description A textual description of the location.
- User Data Custom attributes provided as JSON to add or update on the location.
- Tags Tags associated with the location, provided as JSON array.
- Fields Custom fields provided as JSON object for further customization of the location details.

Output

The node outputs JSON data representing the updated location object as returned by the API. This typically includes all the updated properties of the location after the operation completes successfully. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authentication with the AvantGuard NinjaOne service.
  • The base URL for the API must be configured in the credentials.
  • Depends on the external AvantGuard NinjaOne API to perform the update operation.

Troubleshooting

  • Missing Required Fields: Ensure both "Id" and "Location Id" are provided; these are mandatory.
  • Invalid JSON in Custom Fields: When providing JSON for userData, tags, or fields, ensure it is valid JSON syntax to avoid parsing errors.
  • API Authentication Errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • Network or API Errors: Check connectivity and API status if requests fail unexpectedly.
  • Empty or Incorrect Updates: Confirm that the fields you want to update are included in "Additional Body Fields" and correctly formatted.

Links and References

Discussion