AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to delete a specific Asset associated with a particular Company in the AvantGuard Hudu system. It is useful in scenarios where you need to programmatically remove assets from your company's records, such as cleaning up outdated or incorrect asset entries. For example, you might use this node in an automation workflow that removes assets when a company is decommissioned or when certain criteria are met.

Properties

Name Type Meaning
Id Number The identifier of the requested Asset to be deleted.
Company Id Number The identifier of the parent Company for the specified Asset.

Output

  • The node will output a JSON object reflecting the result of the deletion operation. Typically, this may include a status message or confirmation of deletion. If the API returns no content (common for DELETE operations), the output may be an empty object or a success indicator.

Dependencies

  • External Service: Requires access to the AvantGuard Hudu API.
  • API Credentials: You must configure the avantguardHuduApi credential in n8n, which should include the base URL and authentication details for the Hudu API.
  • n8n Configuration: Ensure the credentials are set up in your n8n instance under the name avantguardHuduApi.

Troubleshooting

  • Missing or Invalid Credentials: If the required API credentials are not provided or are incorrect, the node will fail to connect to the Hudu API. Make sure the avantguardHuduApi credential is correctly configured.
  • Invalid Asset or Company Id: Providing an incorrect or non-existent Asset or Company Id will result in an error from the API, typically indicating that the resource was not found.
  • Permission Issues: If the API key does not have permission to delete assets, you may receive a "403 Forbidden" or similar error.
  • Common Error Messages:
    • 404 Not Found: The specified Asset or Company does not exist.
    • 401 Unauthorized: Authentication failed; check your API credentials.
    • 400 Bad Request: One or more input parameters are invalid.

Links and References

Discussion