DELETE service ostor-usage
Description
Deletes the statistics object specified by name.
Requests
Syntax
DELETE /?ostor-usage&obj=<object_name> HTTP/1.1 Host: <host> Date: <date> Authorization: <authorization_string>
Parameters
Parameter | Description | Required |
---|---|---|
obj
|
Statistics object name. Type: string. Default value: none. |
No |
Headers
This implementation uses only common request headers.
Responses
Headers
This implementation uses only common response headers.
Body
Empty.
If the request is successful,
Status204NoContent
is returned.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 : s3.example.com 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