Disable Bucket Trash Feature
Last Updated:2021-09-13
Interface Description
This interface is used to disable the Trash feature. The user must be the source bucket owner with the FULL_CONTROL permission and also the destination bucket owner.
Request URI
DELETE /v1/{bucketName}/?trash
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/?trash
Common Request Header
{ }
Response Example
HTTP/1.1 200 OK
<Common response header>
{ }
Error Code
Refer to the universal error code.