Dell Technologies ECS REST API

Search (SHIFT+S)




Get Bucket Default Lock Configuration

GET /object/bucket/{bucketName}/object-lock-config

Gets bucket default lock configuration.

bucketName

Query Parameters

namespace

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:
  •  Enabled
Rule    
DefaultRetention    
Mode The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. String Valid Values:
  •  GOVERNANCE | COMPLIANCE
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