Actions11
Overview
This node is designed to interact with a storage service that uses buckets (likely MinIO or compatible S3-like storage). Specifically, the "Remove" operation under the "Bucket" resource allows users to delete an existing bucket by specifying its name. This operation is useful for managing storage resources by cleaning up unused or obsolete buckets.
Common scenarios include:
- Automating cleanup of temporary or test buckets.
- Managing lifecycle of storage resources in workflows.
- Integrating bucket removal as part of larger data processing pipelines.
Example: A workflow that processes data and then removes the bucket used for temporary storage once processing is complete.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the bucket to remove. Can be selected from a list of existing buckets or specified by ID (string). |
The "Bucket Name" property supports two modes:
- From List: Select a bucket from a dynamically fetched list of all available buckets.
- ID: Manually enter the bucket name as a string.
Output
The node outputs JSON data representing the result of the bucket removal operation. Typically, this will confirm whether the bucket was successfully deleted or provide error details if the operation failed.
No binary data output is expected from this operation.
Dependencies
- Requires connection to a compatible object storage service supporting bucket operations.
- Needs appropriate API credentials or authentication tokens configured in n8n to authorize bucket deletion.
- The node depends on internal methods for listing buckets and executing the remove operation.
Troubleshooting
Common issues:
- Attempting to delete a non-empty bucket may fail if the storage service requires buckets to be empty before deletion.
- Insufficient permissions or invalid credentials can cause authorization errors.
- Specifying a bucket name that does not exist will result in an error.
Error messages and resolutions:
- "Bucket not found": Verify the bucket name is correct and exists.
- "Access denied" or "Unauthorized": Check that the API credentials have permission to delete buckets.
- "Bucket not empty": Ensure the bucket is emptied before attempting removal.
Links and References
- MinIO Documentation – For understanding bucket management.
- Amazon S3 Bucket Deletion – Conceptually similar bucket removal process.
- n8n documentation on resource locators for selecting resources dynamically.