GetUserQuota
Last Updated:2021-12-08
Interface Description
This interface is used to view the user quota setting. Note that this interface can only be called by the primary user.
Request
GET /?userQuota HTTP/1.1
Host: bj.bcebos.com
Date: <Date>
Authorization: <Authorization_String>
Response
Parameters | Description |
---|---|
maxBucketCount | Maximum number of creatable buckets in the quota setting. If it is -1, it indicates that there is no limit. |
maxCapacityMegaBytes | Maximum storage capacity limit in the quota setting. If it is -1 or 0, it indicates that there is no limit. |
Example
GET /?userQuota HTTP/1.1
Host: bj.bcebos.com
Date: <Date>
Authorization: <Authorization_String>
HTTP/1.1 200 OK
x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409
Date: Wed, 06 Apr 2016 06:34:40 GMT
Server: BceBos
{
"maxBucketCount": 50,
"maxCapacityMegaBytes" : 12334424
}