百度智能云

All Product Document

          Object Storage

          Delete Permission to Access Object

          Interface Description

          This interface is used to delete the access permission of an object.

          Considerations

          • The object ACL cannot be deleted (Refer to the restoration duration) when the archive storage object is not restored, or the archive file is just uploaded. For the duration, see the retrieval duration.

          Request URI

          DELETE /v1/{bucketName}/{objectKey}?acl

          Parameter Name Parameter Type Required Description Example Value Parameter Position
          bucketName String Yes Bucket name "bucketName_example" Path
          objectKey String Yes Object name "objectKey_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/objectKey_example?acl
          Common Request Header
          
          
          { }

          Response Example

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

          Error Code

          Refer to the universal error code.

          Previous
          Get Permission to Access Object
          Next
          Select Scanning