forked from docs/doc-exports
Reviewed-by: Belejkanic, Lukas <lukas.belejkanic@t-systems.com> Co-authored-by: qiaoli <qiaoli@huawei.com> Co-committed-by: qiaoli <qiaoli@huawei.com>
17 KiB
17 KiB
Querying the Quota of a User
Function
This API is used to query the quota of a user, that is, the allocated total number of CMKs that can be created by a user and the number of CMKs that has been created by the user.
URI
Requests
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Responses
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
quotas |
Yes |
Object |
Quota list. For details, see Table 4. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
resources |
Yes |
Array of objects |
Resource quota list. For details, see Table 5. |
Examples
Status Codes
Table 6 lists the normal status code returned by the response.
Exception status code. For details, see Status Codes.
Parent topic: CMK Management
