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.
The quota does not include Default Master Keys.
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. |
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. |
Exception status code. For details, see Status Codes.