AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to delete a network by its ID within the "Networks" resource. It is useful in scenarios where you need to automate the removal of network records from your system, such as cleaning up obsolete networks or managing network lifecycle through automated workflows.

Practical examples:

  • Automatically deleting a network after decommissioning hardware.
  • Removing test or temporary networks as part of a cleanup process.
  • Integrating with other systems to ensure network records are kept up-to-date.

Properties

Name Type Meaning
Id Number Network ID. The unique identifier of the network you wish to delete. This property is required.

Output

The node will output a JSON object reflecting the result of the delete operation. Typically, this may include:

  • Confirmation of deletion (e.g., success status).
  • Any error messages if the network could not be deleted.

Note: The exact structure depends on the API's response for a delete operation, but usually, it is either an empty object or a status message.

Dependencies

  • External Service: Requires access to the AvantGuard Hudu API.
  • API Key/Credentials: You must configure n8n credentials named avantguardHuduApi with at least the baseUrl and appropriate authentication details.
  • n8n Configuration: Ensure that the base URL for the API is set in the credentials.

Troubleshooting

  • Missing or Invalid Credentials: If the required credentials (avantguardHuduApi) are not provided or incorrect, the node will fail to connect to the API. Make sure the credentials are correctly configured in n8n.
  • Invalid Network ID: Providing a non-existent or already deleted network ID may result in an error from the API, such as "Network not found."
  • Permission Issues: If the API key does not have permission to delete networks, you may receive an authorization error.
  • Common Error Messages:
    • 401 Unauthorized: Check your API credentials.
    • 404 Not Found: The specified network ID does not exist.
    • 400 Bad Request: The input parameters are invalid.

Links and References

Discussion