• Object Storage Service

  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Buckets
  5. PUT Bucket quota
  6. Examples


Sample Request

PUT /?quota HTTP/1.1 
 User-Agent: Jakarta Commons-HttpClient/3.1 
 Host: bucketname.obs.example.com
 Accept-Encoding: gzip,deflate 
 Date: Thu, 22 Nov 2012 09:37:17 +0000 
 Authorization: AWS 08350B985315591007AD:O4jTB/FzS3gXDouwRZgz1wiE2PE= 

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
 <Quota xmlns="http://obs.example.com/doc/2015-06-30/"> 

Sample Response

HTTP/1.1 200 OK 
 Server: OBS 
 x-amz-request-id: 90E2BA0F80EC0000013B277A80860000 
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc 
 x-amz-id-2: dSLkVtVbslB8z967VtfTQmFbD3q4IzeNUBL+tlpGLMGT1FgXnlady4r+oRI/bx2y 
 Date: Thu, 22 Nov 2012 09:37:17 GMT 
 Content-Length: 0