Querying the Rate Limit Quota
Function
Queries the rate limit quota information of a tenant. Filtering by site is supported. If a site is not configured, the default value 100 MB/s is returned.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
workspace:sitesBandwidth:get
List
-
-
-
-
URI
GET /v2/{project_id}/sites/bandwidth-quota/configurations
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| site_id | No | String | Site ID. If this parameter is not passed, all sites are queried. |
| sort_key | No | String | Sorting field. The options are site_id, create_time, update_time, upload_speed_limit, download_speed_limit, and enabled. |
| sort_dir | No | String | Sorting mode. The options are desc (descending) and asc (ascending). |
| offset | No | Integer | Where the pagination query starts. The value starts from 0. |
| limit | No | Integer | Maximum number of records to be returned for pagination query. |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| speed_limit_quotas | Array of SpeedLimitQuotaItem objects | Rate limit quota list. |
| count | Integer | Total number of records. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Quota record ID. |
| site_id | String | Site ID. |
| site_name | String | Site name. |
| upload_speed_limit | Long | Upload rate limit (Mbit/s). |
| download_speed_limit | Long | Download rate limit (Mbit/s). |
| enabled | Boolean | Whether rate limiting is enabled. |
| create_time | String | Creation time (UTC). The format is RFC 3339, for example, 2024-01-01T00:00:00Z. |
| update_time | String | Update time (UTC). The format is RFC 3339, for example, 2024-01-01T00:00:00Z. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code. |
| error_msg | String | Error message. |
| error_detail | String | Error details. |
| encoded_authorization_message | String | Encrypted detailed reason for rejection. You can call the API decode-authorization-message of STS to decrypt the reason. |
Example Requests
GET /v2/fb2e5ec048384c8f9469d22db0037908/sites/bandwidth-quota/configurations?site_id=147258369
Example Responses
Status code: 200
{
"speed_limit_quotas" : [ {
"id" : "550e8400-e29b-41d4-a716-446655440000",
"site_id" : "147258369",
"upload_speed_limit" : 20,
"download_speed_limit" : 50,
"enabled" : true,
"create_time" : "2026-06-06T12:00:00Z",
"update_time" : "2026-06-06T12:00:00Z"
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Response to the request for querying the rate limit quota. |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 500 | Internal Server Error. For details, see the error code description. |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot