ListQuotaActiveUserUsages
Lists users within a quota and their resource usage.
Operation description
Retrieves the resource usage of users in a specified quota.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/quotas/{QuotaId}/activeuserusages HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| QuotaId |
string |
Yes |
The quota ID. |
quotamtl37ge7gkvdz |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SelfOnly |
boolean |
No |
If true, retrieves resource usage from the current quota only. |
false |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
999 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| SortBy |
string |
No |
The field to sort the results by. Valid values:
|
GmtCreateTime |
| Order |
string |
No |
The sort order. Valid values:
|
desc |
| UserId |
string |
No |
Filters the results by user ID. |
200xxxxxx |
| Username |
string |
No |
Filters the results by username. |
test |
| WorkspaceId |
string |
No |
The workspace ID. |
12345 |
| WorkloadCount |
integer |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
E7C42CC7-2E85-508A-84F4-923B605FD10F |
| QuotaUserUsages |
array |
||
|
@ |
|||
| TotalCount |
integer |
The total number of entries that meet the filter criteria. |
1 |
| QuotaUserUsage |
array |
A list of user resource usage details. |
|
|
QuotaUser |
The resource usage details for a user. |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.