Delete object from r2 bucket

Hey guys i was going through the docs on how to delete an object from an r2 bucket and saw that the only option is to delete via wrangler I was hoping there would be a way to achieve this via http? I'm using r2 in my project (via an s3 API) and for each upload I store the details in a database, users can delete the stored files from the database and I also want to remove the object from r2 when a user deletes
1 Reply
Erisa
Erisa2d ago
you can just make a DeleteObject call with the S3 API

Did you find this page helpful?