百度智能云

All Product Document

          Object Storage

          DeleteObjectAcl

          Interface Description

          This command allows you to delete the permission of access to an object.

          Request

          • Request syntax

            DELETE /<ObjectName>?acl HTTP/1.1
            Host: <BucketName>.bj.bcebos.com
            x-bce-date: <Date>
            Authorization: <AuthorizationString>
          • Request header field

            No special header parameters.

          • Request parameters

            No special parameters.

          Response

          • Response header field

            No special parameters returned.

          • Response parameter

            No special parameters returned.

            Considerations

            • You cannot delete the object ACL when the archive storage object is not restoredd or the archive file is just uploaded. For the duration, see the retrieval duration.

          Example

          • Request example

             DELETE /ObjectName?acl HTTP/1.1
             Host: BucketName.bj.bcebos.com
             x-bce-date: 2017-05-01T12:23:49Z
             Authorization: AuthorizationString
          • Response Contentxample

            HTTP/1.1 200 OK
            Date: Wed, 01 Mar 2017 12:25:00 GMT
            Content-Length: 0
            Server: BceBos
            x-bce-request-id:413e34fd-118d-4049-b992-1b1f3a68b1f5
          Previous
          PutObjectAcl
          Next
          Select Scanning