DeleteBucketObjectLock
Last Updated:2021-12-08
Interface Description
When the compliance retention policy is in the IN_PROGRESS or EXPIRED status, you can delete it through this interface. When the compliance retention policy is in the LOCKED status, you cannot delete it unless this bucket is deleted.
Request
-
Request syntax
DELETE /?objectlock HTTP/1.1 Host: <BucketName>.bj.bcebos.com Date: <Date> Authorization: <Authorization_String>
-
Request parameters
No special request parameters.
-
Request header field
No special request header field.
Response
Example
-
Request example
DELETE /?objectlock HTTP/1.1 Host: <BucketName>.bj.bcebos.com x-bce-date: 2016-04-06T06:34:40Z Authorization: AuthorizationString
-
Response example
HTTP/1.1 200 OK x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 Content-Length: 0 Date: Wed, 06 Apr 2016 06:34:40 GMT Server: BceBos