百度智能云

All Product Document

          Object Storage

          Delete Static Website Hosting Information of Bucket

          Interface Description

          This interface is used to delete the static website hosting information set by the bucket and disable the static website hosting feature of this bucket.

          The user must have the FULL_CONTROL permission for the bucket.

          Request URI

          DELETE /v1/{bucketName}/?website

          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/?website
          Common Request Header
          
          
          { }

          Response Example

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

          Error Code

          Refer to the universal error code.

          Previous
          Log Management
          Next
          Get Static Website Hosting Information of Bucket