Put Bucket Lifecycle
POST /enum.api.v1.ObjectStorageBucketService/PutObjectStorageBucketLifecycle
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Responses
Section titled “ Responses ”OK
object
object
Region where the bucket lives (e.g. “fra”).
ObjectStorageBucketConfiguration is the current bucket configuration as reported by object storage. Documents are opaque XML or JSON strings in the same shape accepted by the corresponding Put RPCs.
object
Versioning status: Enabled, Suspended, or empty when unset.
Object Lock configuration document (XML), empty when unset.
Default encryption configuration document (XML), empty when unset.
Lifecycle configuration document (XML), empty when unset.
CORS configuration document (XML), empty when unset.
Bucket policy document (JSON), empty when unset.
Bucket tags as a JSON object string, empty when unset.
Whether Object Lock was enabled at create time. Cannot be changed later.
When true, the bucket cannot be deleted until unprotected.