get method
Written by
Updated at March 19, 2025
Returns the bucket object lifecycle configuration from Object Storage.
For more information on getting started with the API and the general request format, see How to use the S3 API.
Request
GET /{bucket}?lifecycle HTTP/2
Path parameters
Parameter | Description |
---|---|
bucket |
Bucket name. |
Request parameters
Parameter | Description |
---|---|
lifecycle |
Required parameter that indicates the type of operation. |
Headers
Use the appropriate common headers in your request.
Response
Headers
Responses can only contain common headers.
Response codes
If there is no configuration, Object Storage returns a 404 error with the NoSuchLifecycleConfiguration
code.
For a list of other possible responses, see Responses.
Data schema
The structure of returned data is the same as the structure of data provided by the upload method. The structure is described in Bucket object lifecycle configuration.