Actions9
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 stored in MinIO, such as deleting outdated backups, removing temporary files after processing, or managing user-uploaded content.
Example scenarios:
- Automatically delete processed files from a MinIO bucket after workflow completion.
- Remove obsolete or expired data objects as part of a scheduled maintenance workflow.
- Clean up user-specific files when a user account is deleted.
Properties
| Display Name | Type | Description |
|---|---|---|
| Bucket | Resource Locator | The target bucket from which the object will be removed. You can select from a list or enter the name manually. |
| Key | String | The key (name/path) of the object to remove from the bucket. |
Property Details
- Bucket
- Type: Resource Locator
- Required: Yes
- Modes:
- From List: Select a bucket from a dynamically loaded list.
- Name: Enter the bucket name manually.
- Key
- Type: String
- Required: Yes
- Description: The unique identifier (key) of the object within the bucket that you want to delete.
Output
The node does not return any specific output data for the "Remove Object" operation. The input items are passed through unchanged, with no additional fields added to the json output. If the operation fails, an error is thrown and the workflow execution stops for that item.
Dependencies
- External Service: Requires access to a MinIO server.
- Credentials: Must configure and provide valid MinIO credentials (
minioCredentialsApi) in n8n. - n8n Configuration: No special environment variables required beyond standard credential setup.
Troubleshooting
- Missing Credentials:
- Error Message:
No credentials got returned! - Resolution: Ensure that MinIO credentials are properly configured in n8n and assigned to the node.
- Error Message:
- Invalid Bucket or Key:
- Error Message: May receive errors from MinIO if the bucket or key does not exist.
- Resolution: Double-check the bucket name and object key for typos or existence.
- Permission Denied:
- Error Message: Errors related to insufficient permissions may occur if the provided credentials do not have delete rights.
- Resolution: Verify that the MinIO user has permission to delete objects in the specified bucket.