Baidu AI Cloud
中国站

百度智能云

Object Storage

Delete Compliance Retention Policy

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 URI

DELETE /v1/{bucketName}/?objectlock

Parameter Name Parameter Type Required Description Example Value Parameter Position
bucketName String Yes Bucket name "bucketName_example" Path

Request Body Parameters

Instructions for Data Structure of Request Body Field

Response Body Parameters

Instructions for Data Structure of Response Body Field

Request Example

DELETE /v1/bucketName_example/?objectlock
Common Request Header


{ }

Response Example

HTTP/1.1 200 OK
<Common response header>

{ }

Error Code

Refer to the universal error code.

Previous
Access Control
Next
Extend Protection Period of Bucket Compliance Retention Policy