Get User Credit Quota Information
Updated at:2025-11-03
API description
This API displays the user’s quota settings. Note that only primary users are authorized to call this API.
Request URI
GET /v1/?userQuota
Parameters of request body
Description of the data structure of request body fields
Response body parameters
Description of the data structure of response body fields
| Parameter name | Parameter type | Description | Example value |
|---|---|---|---|
| maxBucketCount | Long | Maximum number of buckets that can be created in the quota settings. A value of -1 indicates no limit. | 50 |
| maxCapacityMegaBytes | Long | Maximum storage usage limit in the quota settings. A value of -1 or 0 indicates no limit. | 12334424 |
Request example
JSON
1GET /v1/?userQuota
2 <Common request headers>
3{ }
Response example
JSON
1HTTP/1.1 200 OK
2 <Common response headers>
3{
4 "maxBucketCount" : 50,
5 "maxCapacityMegaBytes" : 12334424
6}
Error code
Please refer to the general error codes
