--- title: "Delete an Object" slug: "delete-an-object-s3cmd-tg" updated: 2026-10-27T17:23:14Z published: 2026-10-27T17:23:14Z canonical: "docs.vastdata.com/delete-an-object-s3cmd-tg" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete an Object ```plaintext s3cmd [-c CONFIGFILE] del s3://BUCKET/OBJECT ``` or (alias for del) ```plaintext s3cmd [-c CONFIGFILE] rm s3://BUCKET/OBJECT ``` | CONFIGFILE | Configuration file. Defaults to $HOME/.s3cfg | | --- | --- | | BUCKET | Name of bucket | | OBJECT | Name of object to delete | ## Example Delete the file *brown.txt* from the bucket *bucket1*. ```plaintext $ s3cmd -c vast.s3cfg rm s3://bucket1/brown.txt delete: 's3://bucket1/brown.txt' ```