Skip to content

Add ability to delete multiple S3 objects #1831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

aneeskhan47
Copy link

Hi,

This PR enables you to delete multiple objects from a bucket using a single HTTP request. If you know the object keys that you want to delete, then this operation provides a suitable alternative to sending individual delete requests, reducing per-request overhead.

I have modified the existing delete method to support both single-string path and array of paths.

AWS S3 docs: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjects.html

@frankdejonge

@aneeskhan47
Copy link
Author

@frankdejonge any insights on this :) ?

@aneeskhan47
Copy link
Author

@frankdejonge

Alt Text

@frankdejonge
Copy link
Member

The ability to delete multiple object could land, but not in V3 and not only for S3. So this PR will not be merged.

@aneeskhan47
Copy link
Author

Thank you for your attention

@aneeskhan47 aneeskhan47 closed this Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants