DELETE Service ostor-limits
Description
Sets a limit of the selected type to 0.0 (unlimited) for the specified user or bucket.
Requests
Syntax
1
2
3
4
| DELETE /?ostor-limits&emailAddress=<value>&ops HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
|
1
2
3
4
| DELETE /?ostor-limits&id=<value>&ops HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
|
1
2
3
4
| DELETE /?ostor-limits&bucket=<value>&bandwidth HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
|
Parameters
emailAddress | User email address. Type: string. Default value: none. | Yes* |
id | User ID. Type: string. Default value: none. | Yes* |
bucket | Bucket name. Type: string. Default value: none. | Yes* |
ops | Removes operations limits. | No |
bandwidth | Removes bandwidth limits. | No |
* Only one of the required parameters can be set in a single request.
This implementation uses only common request headers.
Responses
This implementation uses only common response headers.
Body
Empty.
If limits are successfully removed, Status204NoContent will be returned.
Examples
Sample Request #1
The following request deletes all operations limits for a user with the email user1@email.com.
1
2
3
4
| PUT /?ostor-limits&emailAddress=user1@email.com&ops HTTP/1.1
Host: s3.amazonaws.com
Date: Thu, 07 Apr 2016 14:08:55 GMT
Authorization: <authorization_string>
|
Sample Response #1
1
2
3
4
5
6
7
| HTTP/1.1 204 No Content
Transfer-encoding : chunked
Server : nginx/1.8.1
Connection: closed
x-amz-request-id : 80000000000000030005c8caec96d65b
Date : Thu, 07 Apr 2016 14:08:56 GMT
Content-type : application/json
|
Sample Request #2
The following request removes bandwidth limits for the bucket testbucket.
1
2
3
4
| PUT /?ostor-limits&bucket=testbucket&bandwidth HTTP/1.1
Host: s3.amazonaws.com
Date: Thu, 07 Apr 2016 14:08:55 GMT
Authorization: <authorization_string>
|
Sample Response #2
1
2
3
4
5
6
7
| HTTP/1.1 204 No Content
Transfer-encoding : chunked
Server : nginx/1.8.1
Connection: closed
x-amz-request-id : 80000000000000030005c8caec96d65b
Date : Thu, 07 Apr 2016 14:08:56 GMT
Content-type : application/json
|