2.6. DELETE Service ostor-limits¶
2.6.1. Description¶
Sets a limit of the selected type to 0.0 (unlimited) for the specified user or bucket.
2.6.2. Requests¶
2.6.2.1. Syntax¶
DELETE /?ostor-limits&emailAddress=<value>&ops HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
DELETE /?ostor-limits&id=<value>&ops HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
DELETE /?ostor-limits&bucket=<value>&bandwidth HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
2.6.2.2. Parameters¶
Parameter |
Description |
Required |
---|---|---|
|
User email address. Type: string. Default value: none. |
Yes* |
|
User ID. Type: string. Default value: none. |
Yes* |
|
Bucket name. Type: string. Default value: none. |
Yes* |
|
Removes operations limits. |
No |
|
Removes bandwidth limits. |
No |
* Only one of the required parameters can be set in a single request.
2.6.2.3. Headers¶
This implementation uses only common request headers.
2.6.4. Examples¶
2.6.4.1. Sample Request #1¶
The following request deletes all operations limits for a user with the email user1@email.com
.
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>
2.6.4.2. Sample Response¶
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
2.6.4.3. Sample Request #2¶
The following request removes bandwidth limits for the bucket testbucket
.
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>
2.6.4.4. Sample Response #2¶
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
Version 7.0.5 — Feb 25, 2022