DeleteObject

최신 업데이트:2022-03-01 18:01:05

To delete a specified object, IAM wos:DeleteObject permission is required.

Note: If the object to be deleted does not exist, return to delete successfully; using this interface to delete the m3u8 file will not delete the ts file at the same time.

Request syntax

DELETE /Key HTTP/1.1 
Host: Bucket.Endpoint
Date: Date 
Authorization: Authorization

Request parameter

No request parameters.

Request header

Use public request headers .

Request body

No request body.

Response syntax

HTTP/1.1 StatusCode 
x-wos-request-id: RequestId 
Date: Date
Server:WS-web-server

Response header

Use public response headers .

Response body

No responding body.

Example

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

이 문서의 내용이 도움이 되었습니까?
아니오
정상적으로 제출되었습니다.피드백을 주셔서 감사합니다.앞으로도 개선을 위해 노력하겠습니다.