Get Bucket Object Lock

Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket.

GET /?object-lock HTTP/1.1
Host: {bucket}.{region}.cdn77-storage.com

Response Entities

NameDescription
ObjectLockConfigurationrequirednone

A container for the request.

ObjectLockEnabledrequiredstring

Indicates whether this bucket has an Object Lock configuration enabled.

Rulenone

The Object Lock rule in place for the specified bucket.

DefaultRetentionnone

The default retention period applied to new objects placed in the specified bucket.

Moderequiredstring

The default Object Lock retention mode. Valid Values: GOVERNANCE/COMPLIANCE

Daysinteger

The number of days specified for the default retention period.

Yearsinteger

The number of years specified for the default retention period.

Updated on 13th November, 2026