AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

This node operation deletes related items of a specified entity type and ID within the AvantGuard NinjaOne system. It is useful for scenarios where you need to remove associations or linked records from entities such as organizations, documents, locations, nodes, attachments, technicians, credentials, checklists, end users, contacts, or knowledge base documents.

For example, if you want to clean up or update your data by removing obsolete or incorrect related items linked to a particular organization or technician, this operation allows you to do so programmatically within an n8n workflow.

Properties

Name Meaning
Entity Type The type of entity whose related items you want to delete. Options include: ORGANIZATION, DOCUMENT, LOCATION, NODE, ATTACHMENT, TECHNICIAN, CREDENTIAL, CHECKLIST, END USER, CONTACT, KB DOCUMENT.
Entity Id The unique numeric identifier of the entity instance from which related items will be deleted.

Output

The node outputs JSON data representing the result of the deletion operation. This typically includes confirmation of success or details about the deleted related items. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for AvantGuard NinjaOne to authenticate requests.
  • Depends on the AvantGuard NinjaOne API endpoint configured via the node's credentials (base URL).
  • Uses the @avantguardllc/n8n-openapi-node package and an OpenAPI specification (openapi.json) bundled with the node for request building.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an invalid entity type or entity ID may result in errors or no action.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors usually indicate incorrect or expired API keys; verify and update credentials.
    • "Entity not found" or similar errors suggest the provided entity ID does not exist; double-check the ID.
    • Validation errors may occur if required properties are missing; ensure all required inputs are set.

Links and References

  • AvantGuard NinjaOne API documentation (refer to your organization's API docs for detailed endpoints and usage)
  • n8n documentation on creating custom nodes and using API credentials

Discussion