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