Bucket Versioning
You must be the bucket owner to set the versioning state.
The versioning state can be set with one of the following values:
- Enabled : Enables versioning for the objects in the bucket, All objects added to the bucket receive a unique version ID.
- Suspended : Disables versioning for the objects in the bucket, All objects added to the bucket receive the version ID null.
If the versioning state has never been set on a bucket, it has no versioning state; a GET versioning request does not return a versioning state value.
<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>Enabled</Status>
</VersioningConfiguration>Request Entities
| Name | Description |
|---|---|
VersioningConfigurationnone | A container for the request. |
Statusstring | Sets the versioning state of the bucket. Valid Values: Suspended/Enabled |
<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Status>Enabled</Status>
</VersioningConfiguration>Updated on 13th November, 2026