3.2. DELETE Service ostor-usage¶
3.2.1. Description¶
Deletes the statistics object specified by name.
3.2.2. Requests¶
3.2.2.1. Syntax¶
DELETE /?ostor-users&obj=<object_name> HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
3.2.2.2. Parameters¶
Parameter |
Description |
Required |
---|---|---|
|
Statistics object name. Type: string. Default value: none. |
No |
3.2.2.3. Headers¶
This implementation uses only common request headers.
3.2.4. Examples¶
3.2.4.1. 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
3.2.4.2. 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
Version 7.0.5 — Feb 25, 2022