Baidu AI Cloud
中国站

百度智能云

Object Storage

Delete Object

Interface Description

This command is used to delete an object of the specified bucket. The requester must have the write permission of the object.

Request URI

DELETE /v1/{bucketName}/{objectKey}

Parameter Name Parameter Type Required? Description Example Value Parameter Position
bucketName String Yes Bucket name "bucketName_example" Path
objectKey String Yes Object name "objectKey_example" Path

Request Body Parameters

Description of Data Structure for Request Body Field

Response Body Parameters

Description of Data Structure for Response Body Field

Request Example

DELETE /v1/bucketName_example/objectKey_example
Common Request Header


{ }

Response Example

HTTP/1.1 200 OK
<Common response header>

{ }

Error Code

Refer to the universal error code.

Previous
Fetch and Store Object into Bucket
Next
Delete Multiple Objects