DELETE service ostor-limits

Description

Sets a limit of the selected type to 0.0 (unlimited) for the specified user or bucket.

Requests

Syntax

DELETE /?ostor-limits&emailAddress=<value>&ops HTTP/1.1
Host: <host>
Date: <date>
Authorization: <authorization_string>
DELETE /?ostor-limits&id=<value>&ops HTTP/1.1
Host: <host>
Date: <date>
Authorization: <authorization_string>
DELETE /?ostor-limits&bucket=<value>&bandwidth HTTP/1.1
Host: <host>
Date: <date>
Authorization: <authorization_string>

Parameters

DELETE service ostor-limits parameters

Parameter Description Required
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.

Headers

This implementation uses only common request headers.

Responses

Headers

This implementation uses only common response headers.

Body

Empty.

If limits are successfully removed, Status204NoContent will be returned.

Examples

Sample request #1

Deletes all operations limits for a user with the email user1@email.com.

DELETE /?ostor-limits&emailAddress=user1@email.com&ops HTTP/1.1
Host: s3.example.com
Date: Thu, 07 Apr 2016 14:08:55 GMT
Authorization: <authorization_string>

Sample response #1

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

Removes bandwidth limits for the bucket testbucket.

DELETE /?ostor-limits&bucket=testbucket&bandwidth HTTP/1.1
Host: s3.example.com
Date: Thu, 07 Apr 2016 14:08:55 GMT
Authorization: <authorization_string>

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