{
"regionID": "TestRegionID",
"bucket": "ztces-230404-create",
"retentionMode": "GOVERNANCE",
"days": 123
}
curl --location --request POST '/v4/oss/put-object-lock-conf' \
--header 'Content-Type: application/json' \
--data-raw '{
"regionID": "TestRegionID",
"bucket": "ztces-230404-create",
"retentionMode": "GOVERNANCE",
"days": 123
}'
{
"description": "对象存储访问底层失败",
"errorCode": "oss.phybcloud.001",
"message": "原因:An error occurred (InvalidBucketState) when calling the PutObjectLockConfiguration operation: Unknown",
"statusCode": 900
}