DeleteObject
Last Updated:2021-12-08
Interface Description
This command is used to delete an object of specified bucket. The requester must have the write permission of this object.
Request
-
Request Syntax
DELETE /<ObjectName> HTTP/1.1 Host: <BucketName>.bj.bcebos.com Date: <Date> Authorization: <AuthorizationString>
-
Request header field
No special header parameters.
-
Query Parameters
No special parameters.
Response
Notes
No
Example
-
Request Example
DELETE /ObjectName HTTP/1.1 Host: BucketName.bj.bcebos.com Date: Wed, 06 Apr 2016 06:34:40 GMT Authorization: AuthorizationString
-
Response Example
HTTP/1.1 204 No Content x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 Date: Wed, 06 Apr 2016 06:34:40 GMT Content-Length: 0 Connection: close Server: BceBos