Remove one version from a versioned bucket.
Section: S3API Object Commands
Delete a specific object version
bash
bash
aws s3api delete-object --bucket my-bucket --key app/config.json --version-id 3Lg..exampleExplanation
Targets one specific version instead of the current latest version only.
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