Hudu icon

Hudu

Interact with Hudu REST API

Overview

This node integrates with the Hudu REST API to manage various resources within Hudu, including rack storage entities. Specifically, for the "Rack Storage" resource and the "Delete" operation, the node deletes a specified rack storage entry by its ID. This is useful in scenarios where you need to programmatically remove obsolete or incorrect rack storage records from your Hudu system as part of automated workflows.

Practical examples include:

  • Automatically cleaning up rack storage entries when decommissioning hardware.
  • Integrating asset lifecycle management by deleting rack storage data when assets are removed.
  • Synchronizing external inventory systems by deleting rack storage entries that no longer exist externally.

Properties

Name Meaning
Rack Storage ID The unique numeric identifier of the rack storage to delete. This property is required for the delete operation on rack storages.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm successful deletion or provide error details if the operation failed. The output items are paired with their input item index for traceability.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Hudu REST API.
  • Needs an API key credential configured in n8n to authenticate requests.
  • The base URL for the Hudu API must be set in the node credentials.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Rack Storage ID will cause the delete operation to fail.
    • Missing or incorrect API authentication credentials will prevent the node from connecting to the Hudu API.
    • Network connectivity issues can cause timeouts or failures.
  • Error messages:

    • Errors indicating "resource not known" suggest the resource parameter was incorrectly set.
    • API errors related to authorization typically mean the API key is missing or invalid.
    • If the node throws an error about the Rack Storage ID, verify that the ID exists and is correctly passed as a number.

To resolve these issues:

  • Double-check the Rack Storage ID input.
  • Ensure the API key credential is properly configured and has sufficient permissions.
  • Verify network access to the Hudu API endpoint.

Links and References

Discussion