Updates the default retention period setting for the specified bucket.
bucketName | Bucket name for which retention period will be updated. |
SYSTEM_ADMIN
The following conditions must be met in order to call this operation.
Bucket name should not be null or empty.
Bucket must exist.
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
default_bucket_retention_update | |||
period | Default retention period in seconds | Long | |
namespace | Namespace to which this bucket belongs | String | |
min_max_governor | |||
enforce_retention | Boolean | ||
minimum_fixed_retention | Long | ||
maximum_fixed_retention | Long | ||
minimum_variable_retention | Long | ||
maximum_variable_retention | Long |
Response indicating Success or Failure of the operation
PUT https://192.168.0.0:4443/object/bucket/standalone-bucket/retention: HTTP/1.1 Content-Type: application/xml X-SDS-AUTH-TOKEN: <AUTH_TOKEN> <default_bucket_retention_update> <period>3</period> <namespace>s3</namespace> </default_bucket_retention_update>
HTTP/1.1 200 OK Content-Type: application/xml