DeleteBucketObjectLock
Updated at:2025-11-03
API description
A compliance retention policy in IN_PROGRESS or EXPIRED status can be deleted using this API. However, any LOCKED compliance policy cannot be deleted unless the bucket itself is deleted.
Request
-
Request syntax
Plain Text1DELETE /?objectlock HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3Date: <Date> 4Authorization: <Authorization_String> -
Request parameters
No special request parameters
-
Request headers
No special request headers
Response
Example
-
Request example
Plain Text1DELETE /?objectlock HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3x-bce-date: 2016-04-06T06:34:40Z 4Authorization: AuthorizationString -
Response example
Plain Text1HTTP/1.1 200 OK 2x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 3Content-Length: 0 4Date: Wed, 06 Apr 2016 06:34:40 GMT 5Server: BceBos
