.. _DELETE Service ostor-limits: 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=&ops HTTP/1.1 Host: s3.amazonaws.com Date: Authorization: :: DELETE /?ostor-limits&id=&ops HTTP/1.1 Host: s3.amazonaws.com Date: Authorization: :: DELETE /?ostor-limits&bucket=&bandwidth HTTP/1.1 Host: s3.amazonaws.com Date: Authorization: Parameters ^^^^^^^^^^ +------------------+-------------------------------------------------------+----------+ | Parameter | Description | Required | +==================+=======================================================+==========+ | ``emailAddress`` | User email address. | Yes* | | | | | | | Type: string. | | | | | | | | Default value: none. | | +------------------+-------------------------------------------------------+----------+ | ``id`` | User ID. | Yes* | | | | | | | Type: string. | | | | | | | | Default value: none. | | +------------------+-------------------------------------------------------+----------+ | ``bucket`` | Bucket name. | Yes* | | | | | | | Type: string. | | | | | | | | Default value: none. | | +------------------+-------------------------------------------------------+----------+ | ``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. .. note:: 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``. :: 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: 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 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: 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