• Object Storage Service

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

Requests

Syntax

PUT /?quota HTTP/1.1 
 User-Agent: agent
 Host: bucketname.obs.example.com 
 Accept: */*
 Date: date 
 Authorization: authorization 
 Content-Length:length 

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

Request Parameters

This request involves no parameters.

Request Headers

This request uses common headers. For details about common request headers, see section Common Request Headers.

Request Elements

This request contains one element to specify the bucket quota, as described in Table 1.

Table 1 Request element

Element

Description

Remarks

StorageQuota

Indicates a bucket quota.

Type: Integer

Mandatory