DeleteBucketInventory
Updated at:2025-11-03
API description
DeleteBucketInventory allows for the deletion of a specified inventory configuration (identified by an inventory ID) for a given bucket through a DELETE operation.
Request
-
Request syntax
Plain Text1DELETE /?inventory&id=inventory-configuration-ID HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3x-bce-date: date 4Content-Length: 0 -
Request headers
No special elements are present.
-
Request query parameters
| Name | Types | Description | Required or not |
|---|---|---|---|
| id | string | Name of the inventory rule. | Yes |
Response
No special headers
Example
-
Request example
Plain Text1DELETE /?inventory&id=inventory-configuration-id HTTP/1.1 2Host: <BucketName>.bj.bcebos.com 3x-bce-date: date 4Content-Length: 0 -
Response example
Plain Text1HTTP/1.1 200 OK 2x-bce-request-id: 4db4b34d-653d-4d9a-b49b-3049ca786409 3Date: Wed, 31 May 2018 08:34:40 GMT 4Server: BceBos 5Authorization: AuthorizationString
