Listing Organizations Quotas
Function
This API is used to list Organizations quotas. It can be called only from the management account or a delegated administrator account.
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
organizations:quotas:list
List
-
-
-
-
URI
GET /v1/organizations/quotas
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Security-Token | No | String | Definition Security token (session token) of your temporary security credentials. If a temporary security credential is used, this header is required. Constraints N/A Range The value contains 0 to 32,768 characters. Default Value No default value |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| quotas | QuotasResourcesDto object | Response body of the organization quotas. |
| Parameter | Type | Description |
|---|---|---|
| resources | Array of QuotaDto objects | Definition Quota information. Constraints Mandatory Range None Default Value None |
| Parameter | Type | Description |
|---|---|---|
| type | String | Definition Quota type. It can be account, organizational_unit, or policy. Constraints Mandatory Range The value contains 1 to 64 characters. Default Value No default value |
| quota | Integer | Definition Quotas. Constraints Mandatory Range 32-bit integer Default Value None |
| min | Integer | Definition Minimum quota. Constraints Mandatory Range 32-bit integer Default Value None |
| max | Integer | Definition Maximum quota. Constraints Mandatory Range 32-bit integer Default Value None |
| used | Integer | Definition Used quota. Constraints Mandatory Range 32-bit integer Default Value None |
Example Requests
Listing Organizations quotas
GET https://{endpoint}/v1/organizations/quotas Example Responses
Status code: 200
Successful.
{
"quotas" : {
"resources" : [ {
"type" : "account",
"quota" : 0,
"min" : 0,
"max" : 1,
"used" : 0
} ]
}
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank 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