更新时间:2023-08-17 17:36:34
删除指定对象,需要IAM wos:DeleteObject权限。
注:如果要删除的对象不存在,返回删除成功;使用该接口删除m3u8文件不会同时删除ts文件。
DELETE /Key HTTP/1.1
Host: Bucket.Endpoint
Date: Date
Authorization: Authorization
无请求参数。
使用公共请求头部。
无请求主体。
HTTP/1.1 StatusCode
x-wos-request-id: RequestId
Date: Date
Server:WS-web-server
使用公共响应头部。
无响应主体。
DELETE /test HTTP/1.1
Host: Bucket.s3-cn-south-1.wcsapi.com
Date: Sat, 03 Dec 2011 08:38:18 GMT
Authorization: WOS BF6C09F302931425E9A7:wQ1Tp3rD7kaUCsYfPKxOIN7NoSA=
Content-Type: text/plain
HTTP/1.1 204 No Content
x-wos-request-id: 001B21A61C6C000001340312E226528D
Date: Sat, 03 Dec 2011 08:38:18 GMT
Content-Length: 0
Connection: close
Server: WS-web-server