All Products
Search
Document Center

Object Storage Service:DeleteBucketOverwriteConfig

Last Updated:Dec 06, 2025

You can call the DeleteBucketOverwriteConfig operation to delete the no-overwrite rule configuration of a bucket.

Notes

  • This operation deletes all no-overwrite rule configurations for the bucket.

  • After the configuration is deleted, the no-overwrite rules no longer apply to the bucket, and all objects can be overwritten.

Permissions

An Alibaba Cloud account has all permissions by default. However, a Resource Access Management (RAM) user or RAM role has no permissions by default. The Alibaba Cloud account owner or an administrator must grant permissions using a RAM policy or a bucket policy.

API

Action

Description

DeleteBucketOverwriteConfig

oss:DeleteBucketOverwriteConfig

Deletes the no-overwrite rule configuration of a bucket.

Request syntax

DELETE /?overwriteConfig HTTP/1.1
Host: bucket-name.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue

Request headers

This operation uses only common request headers. It does not have specific request headers. For more information, see Common request headers.

Request elements

This operation does not have request elements.

Response elements

This operation does not return response elements.

Response headers

This operation uses only common response headers. For more information, see Common request headers.

Examples

  • Request example

    DELETE /?overwriteConfig HTTP/1.1
    Host: bucket-name.oss-cn-hangzhou.aliyuncs.com
    Authorization: SignatureValue
  • Response example

    HTTP/1.1 204 No Content
    x-oss-request-id: 5C4E5B5C5E5F5A5B5C5DXXXX
    Date: Mon, 25 Nov 2025 15:00:59 GMT