DeleteBucketPolicy

DeleteBucketPolicy用于删除指定存储空间(Bucket)的权限策略(Policy)。

请求语法

DELETE /?policy
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

当您在OSS ON云盒中调用该接口时,您需要将Host替换为云盒Endpoint。更多信息,请参见云盒Endpoint

请求头

此接口仅涉及公共请求头。更多信息,请参见公共请求头(Common Request Headers)

响应头

此接口仅涉及公共响应头。更多信息,请参见公共响应头(Common Response Headers)

示例

  • 请求示例

    DELETE /?policy
    Host: oss-example.oss-cn-hangzhou.aliyuncs.com
    Date: Thu, 21 Feb 2019 12:55:10 GMT
    Authorization: OSS qn6q**************:77Dv****************
  • 返回示例

    204 (No Content)
    content-length: 0
    server: AliyunOSS
    x-oss-server-time: 31
    connection: keep-alive
    x-oss-request-id: 5C6E9FAF31A13327124B****
    date: Thu, 21 Feb 2019 12:55:11 GMT