百度智能云

All Product Document

          Object Storage

          Disable Bucket Trash Feature

          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.

          Previous
          Static Website
          Next
          Enable Bucket Trash Feature