AvantGuard - Hudu icon

AvantGuard - Hudu

AvantGuard - Hudu

Actions109

Overview

This node allows you to delete a specific upload by its ID from the "Uploads" resource. It is useful in scenarios where you need to programmatically remove files or data that were previously uploaded, such as cleaning up outdated documents, managing storage, or enforcing data retention policies.

Practical examples:

  • Automatically deleting temporary uploads after processing.
  • Removing user-uploaded files when a user account is deleted.
  • Cleaning up failed or incomplete uploads.

Properties

Name Type Meaning
Id Number ID of the requested upload to be deleted

Output

The node will output a JSON object reflecting the result of the deletion operation. The exact structure may depend on the API's response, but typically it would include confirmation of deletion or details about the deleted upload. If the deletion fails, an error message may be included in the output.

Dependencies

  • External Service: Requires access to the AvantGuard Hudu API.
  • API Key/Credentials: Needs valid avantguardHuduApi credentials configured in n8n, including the base URL and authentication details.
  • n8n Configuration: Ensure the credentials are set up under the name avantguardHuduApi.

Troubleshooting

  • Invalid or Missing ID: If the provided "Id" does not exist or is missing, the node may return an error indicating that the upload could not be found.
  • Authentication Errors: If credentials are incorrect or missing, you may see errors related to unauthorized access (e.g., 401 Unauthorized).
  • Network Issues: Connectivity problems with the API endpoint can cause timeouts or connection errors.
  • Common Error Messages:
    • "Upload not found": Check that the "Id" is correct and exists.
    • "Unauthorized": Verify your API credentials.
    • "Connection timed out": Ensure network connectivity to the API server.

Links and References

Discussion