All Products
Search
Document Center

Object Storage Service:DeleteBucketPolicy

Last Updated:Apr 29, 2024

You can call DeleteBucketPolicy to delete the policies configured for a specified bucket.

Examples

  • Sample requests

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

    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