Show versions in a versioned bucket.
Section: S3API Object Commands
List object versions
bash
bash
aws s3api list-object-versions --bucket my-bucket --prefix app/Explanation
Useful when recovering or auditing previous object states.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing S3API Object Commands
Delete a specific object version
Remove one version from a versioned bucket.
Upload an object with s3api
Put a single object using low-level API options.