MinIO S3

Upload, download, and manage files in MinIO S3

Actions11

File → Delete

AI-generated

Overview

This node integrates with MinIO S3 to manage files within buckets. Specifically, for the File resource with the Delete operation, it deletes a specified file from a given bucket. This is useful in scenarios where automated workflows need to remove files from cloud storage, such as cleaning up temporary files or managing storage space.

Use Case Examples

  1. Deleting a file named 'report.pdf' from the 'documents' bucket after processing it.
  2. Removing outdated images from a bucket to maintain storage hygiene.

Properties

Name Meaning
Bucket Name Specifies the name of the bucket where the file to be deleted is located.
File Name Specifies the name of the file to delete from the bucket.

Output

JSON

  • json - The response from the MinIO S3 API after attempting to delete the file, typically an empty object or confirmation message.

Dependencies

  • Requires MinIO S3 API credentials for authentication and access.

Troubleshooting

  • Common issues include providing incorrect bucket or file names, which will cause the deletion to fail with an error message indicating the file or bucket was not found.
  • Network or permission errors may occur if the API credentials are invalid or lack sufficient permissions to delete files.
  • If the node is set to continue on fail, errors will be returned in the output JSON under an 'error' property.

Links

  • MinIO JavaScript Client API - Official documentation for MinIO's JavaScript client, useful for understanding API requests made by the node.

Discussion