百度智能云

All Product Document

          Object Storage

          Disable Copyright Protection Configuration of Bucket

          Interface Description

          This interface is used to disable the copyright protection feature of the bucket.

          Descriptions:

          • Only the requester with the FULL_CONTROL permission is allowed to disable the copyright protection feature. Otherwise, this interface returns Error 403: AccessDenied.
          • If the requested bucket does not enable the copyright protection feature, it still returns the HTTP status code 204.

          Request URI

          DELETE /v1/{bucketName}/?copyrightProtection

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

          Request Body Parameters

          Description of Data Structure for Request Body Field

          Response Body Parameters

          Description of Data Structure for Response Body Field

          Request Example

          DELETE /v1/bucketName_example/?copyrightProtection
          Common Request Header
          
          
          { }

          Response Example

          HTTP/1.1 200 OK
          <Common response header>
          
          { }

          Error Code

          Refer to the universal error code.

          Previous
          Compliance Retention
          Next
          Enable Copyright Protection Feature of Bucket