Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-09-14 16:18:08
This interface mainly implements the delete object operation, if it exists. If it does not exist, do nothing.
DELETE /{ObjectKey} HTTP/1.1
Host: {BucketName}.{endpoint}
Date: {date}
Content-Length: {length}
Authorization: {SignatureValue}
Attention:
The request does not use request parameters.
The request uses a common request header. For more information, please click Public Request Header.
Header Name | Description |
---|---|
x-kss-delete-marker | Specify the object to get is (true ) or is not (flase ) a delete marker ,if not, the response header will not appear.Type:Boolean Valid Value:true false Default:false |
The interface does not return response elements.
The request does not return any special errors.
Sample Request
DELETE /my-image.jpg HTTP/1.1
Host: ks3-example.ks3-cn-beijing.ksyuncs.com
Date: Fri, 26 Dec 2014 06:52:15 GMT
Authorization: authorization string
Content-Type: text/plain
Sample Response
HTTP/1.1 204 NoContent
Date: Fri, 26 Dec 2014 06:52:15 GMT
Content-Length: 0
Connection: close
Server: Tengine
Pure Mode