Get Bucket Default Lock Configuration
GET /object/bucket/{bucketName}/object-lock-config
Gets bucket default lock configuration.
Query Parameters
Required Roles
This call has no restrictions.
Response Body
Field |
Description |
Type |
Notes |
ObjectLockConfiguration |
|
|
|
ObjectLockEnabled |
Indicates the Retention mode for the specified object. |
String |
Valid Values:
|
Rule |
|
|
|
DefaultRetention |
|
|
|
Mode |
The default Object Lock retention mode you want to apply to new objects
placed in the specified bucket. |
String |
Valid Values:
|
Years |
The number of years that you want to specify for the default retention
period. Either Days or Years must be specified, but not both. |
Integer |
|
Days |
The number of days that you want to specify for the default retention period.
Either Days or Years must be specified, but not both. |
Integer |
|