MinIO icon

MinIO

MinIO operation

Overview

This node allows you to remove (delete) an object from a specified bucket in a MinIO storage server. It is useful for automating the cleanup or management of files and objects stored in MinIO, such as deleting outdated backups, removing temporary files after processing, or managing user uploads.

Example scenarios:

  • Automatically delete processed files from a MinIO bucket after workflow completion.
  • Remove sensitive data objects upon user request.
  • Clean up old log files or backups on a scheduled basis.

Properties

Display Name Type Meaning
Bucket Resource Locator The target bucket from which the object will be removed. You can select from a list or enter the bucket name manually.
Key String The unique key (name/path) of the object within the bucket that you want to remove.

Output

The node does not return any specific output fields when removing an object. The output will simply pass through the input items, indicating successful execution if no error occurs. No additional JSON properties are added to the output.

Dependencies

  • MinIO Server: You must have access to a running MinIO instance.
  • Credentials: Requires valid MinIO API credentials configured in n8n under minioCredentialsApi.

Troubleshooting

  • Missing Credentials:
    Error message: No credentials got returned!
    Resolution: Ensure that your MinIO credentials are correctly set up in n8n and selected in the node.

  • Object or Bucket Not Found:
    If the specified bucket or key does not exist, MinIO may throw an error.
    Resolution: Double-check the bucket and key values for typos or existence.

  • Permission Denied:
    If the credentials do not have permission to delete objects, the operation will fail.
    Resolution: Verify that the provided credentials have sufficient permissions for the target bucket.

Links and References

Discussion