3.2. DELETE Service ostor-usage

3.2.1. Description

Deletes the statistics object specified by name.

3.2.2. Requests Syntax

DELETE /?ostor-users&obj=<object_name> HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string> Parameters

Table DELETE Service ostor-usage parameters
Parameter Description Required

Statistics object name.

Type: string.

Default value: none.

No Headers

This implementation uses only common request headers.

3.2.3. Responses Headers

This implementation uses only common response headers. Body



If the request is successful, Status204NoContent is returned.

3.2.4. Examples Sample Request

The following request deletes statistics object with name s3-usage-8000000000000003-2016-04-11T13:33:55.000Z-30.

DELETE /?ostor-usage&obj=s3-usage-8000000000000003-2016-04-11T13:12:53.000Z-30 /HTTP1.1
Date : Mon, 11 Apr 2016 17:52:05 GMT+3:00
Host : ostor-test-1
Authorization : authorization string Sample Response

HTTP/1.1 204 No Content
Date : Mon, 11 Apr 2016 14:52:05 GMT
x-amz-req-time-micros : 4717
Connection : keep-alive
x-amz-request-id : 80000000000000030006b6bf31262d2c
Server : nginx/1.8.1