Delete an S3 Object
Learn how to delete an S3 object through the S3 Gateway.
May 30, 2023
You can call the delete an S3 Object command on your S3 client to delete a file from a Pachyderm repository. For example, let’s delete the file test.csv
from the master
branch of the foo
repo within the bar
project.
Tool:
aws --endpoint-url http://localhost:30600/ s3 rm s3://master.foo.bar/test.csv
# delete: s3://master.foo.bar/test.csv
mc rm local/master.foo.bar/test.csv
# Removing `local/master.foo.bar/test.csv`.