Locking Bucket Compliance Retention Policies
Updated at:2025-11-03
API description
The compliance retention policy will be immediately set to the LOCKED status. Once locked, the policy cannot be deleted unless the associated bucket is deleted. Please configure this with care.
Request URI
POST /v1/{bucketName}/?completeobjectlock
| Parameter name | Parameter type | Required or not | Description | Example value | Parameter location |
|---|---|---|---|---|---|
| bucketName | String | Yes | Bucket name | "bucketName_example" | Path |
Parameters of request body
Description of the data structure of request body fields
Response body parameters
Description of the data structure of response body fields
Request example
JSON
1POST /v1/bucketName_example/?completeobjectlock
2 <Common request headers>
3{ }
Response example
JSON
1HTTP/1.1 200 OK
2 <Common response headers>
3{ }
Error code
Please refer to the general error codes
