upload method

Uploads a bucket's object lifecycle configuration to Object Storage.


PUT /{bucket}?lifecycle HTTP/1.1

Path parameters

Parameter Description
bucket Name of the bucket.

Query parameters

Parameter Description
lifecycle Required parameter that indicates the type of operation.


In a request, use the necessary common request headers.

The Content-MD5 header is required.

Data schema

For the configuration description, see Bucket object lifecycle configuration.



A response can only contain common response headers.

Response codes

For a list of possible responses, see Responses.