upload method

Uploads the bucket 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

Use the necessary common request headers in requests.

The Content-MD5 header is required.

Data schema

The configuration type is described in Bucket object lifecycle configuration.

Response

Headers

Responses can only contain common response headers.

Response codes

For the list of possible responses, see Responses.