MinIO icon

MinIO

Connect to your MinIO server

Actions11

Overview

This node is designed to remove an object from a specified bucket in a storage system compatible with the MinIO API. It is useful for scenarios where you need to delete files or data objects stored remotely, such as cleaning up unused files, managing storage space, or automating file lifecycle management.

For example, you might use this node to delete a specific image file from a media bucket after processing it, or to remove backup files older than a certain date.

Properties

Name Meaning
Bucket Name The name of the bucket containing the object to be removed. Can be selected from a list of existing buckets or provided as a string ID.
Object Name The name (key) of the object within the bucket to remove. Can be selected from a list of objects in the bucket or provided as a string ID.

Output

The node outputs JSON data representing the result of the remove operation. Typically, this will confirm whether the object was successfully deleted or provide error information if the removal failed.

If the node supports binary data output, it would relate to the object being removed, but since this is a removal operation, no binary output is expected.

Dependencies

  • Requires access to a MinIO-compatible storage service.
  • Needs appropriate credentials (such as an API key or authentication token) configured in n8n to authorize operations on the storage service.
  • The node depends on internal methods for executing the remove operation and listing buckets/objects for selection.

Troubleshooting

  • Common issues:

    • Incorrect bucket or object names leading to "object not found" errors.
    • Insufficient permissions causing authorization failures.
    • Network connectivity problems preventing access to the storage service.
  • Error messages and resolutions:

    • "Object not found": Verify that the bucket and object names are correct and that the object exists.
    • "Access denied" or "Unauthorized": Check that the credentials used have sufficient permissions to delete objects.
    • Timeout or connection errors: Ensure network connectivity to the storage endpoint and that the service is operational.

Links and References

Discussion