AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

This node integrates with the AvantGuard NinjaOne platform to manage related items. Specifically, the "Delete Related Item" operation allows users to remove a related item by specifying its unique identifier. This is useful in scenarios where you need to clean up or manage relationships between entities within the NinjaOne system, such as unlinking devices, tickets, or other resources that are no longer relevant.

Practical examples include:

  • Automatically deleting obsolete related items during a cleanup workflow.
  • Removing incorrect or duplicate links between resources.
  • Managing dependencies by programmatically unlinking related records.

Properties

Name Meaning
Related Item Id The unique numeric identifier of the related item to delete.

Output

The node outputs JSON data representing the result of the deletion request. Typically, this will include confirmation of successful deletion or details about any errors encountered. The exact structure depends on the API response but generally confirms whether the related item was removed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating with the AvantGuard NinjaOne platform.
  • Needs the base URL of the NinjaOne API configured in the credentials.
  • Depends on the @avantguardllc/n8n-openapi-node package and the corresponding OpenAPI specification (openapi.json) bundled with the node.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Related Item Id will likely result in an error indicating the item could not be found.
    • Authentication failures if the API key or base URL is misconfigured.
    • Network connectivity problems preventing access to the NinjaOne API.
  • Error messages:

    • "Related item not found": Verify the Related Item Id is correct and exists.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and properly set.
    • Timeout or network errors: Ensure the NinjaOne API endpoint is reachable from your environment.

Links and References

Discussion