DELETE Object

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision)
 

Latest revision as of 13:36, 30 May 2016

removes the null version (if there is one) of an object and inserts a delete marker

DELETE /ObjectName

[edit] Requests

Syntax
DELETE /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Content-Length: length
Date: date
Authorization: signatureValue
Parameters

This implementation of the operation does not use request parameters.

Headers

This implementation of the operation only uses request headers common to all operations

Elements in body

This implementation of the operation does not use request elements.

[edit] Responses

Headers

This implementation of the operation uses only response headers that are common to most responses

Elements

This implementation of the operation does not return response elements.

[edit] Examples

Sample Request
DELETE /ObjectName HTTP/1.1
Host: BucketName.hs2.hostway.com
Content-Length: 0
Date: date
Authorization: AWS signatureValue
Sample Response
HTTP/1.1 204 NoContent
Date : date
Connection : keep-alive
Content-Length : 0
Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox