Actions11
Overview
This node operation removes a specified bucket from the storage system. It is useful in scenarios where you want to delete an entire bucket and all its contents, for example, cleaning up unused storage buckets or managing lifecycle of data storage resources programmatically.
Properties
| Name | Meaning |
|---|---|
| Bucket Name | The name of the bucket to remove. You can select it either from a list of existing buckets or specify the bucket name directly by ID. |
Output
The output JSON typically contains information about the result of the removal operation, such as success confirmation or error details if the bucket could not be removed. There is no indication that binary data is returned by this operation.
Dependencies
- Requires access to the MinIO or compatible S3 API endpoint.
- Requires an API key credential or authentication token configured in n8n to authorize bucket removal operations.
- The node depends on internal methods for executing the removal action and listing buckets for selection.
Troubleshooting
- Common issues include attempting to remove a bucket that does not exist or is currently in use.
- Errors may occur if the provided bucket name is invalid or if the authentication credentials lack sufficient permissions.
- To resolve errors, verify the bucket name, ensure the bucket is empty if required by the backend, and confirm that the API key has delete permissions.
Links and References
- MinIO Documentation
- Amazon S3 Bucket Deletion (conceptually similar)