upload method

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

Request

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.

Headers

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.

Response

Headers

A response can only contain common response headers.

Response codes

For a list of possible responses, see Responses.