Help Center> Organizations> API Reference> API> Others> Listing Organizations Quotas
Updated on 2024-03-15 GMT+08:00

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.

URI

GET /v1/organizations/quotas

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Security-Token

No

String

Security token (session token) of your temporary security credentials. If a temporary security credential is used, this header is required.

Minimum: 1

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

quotas

QuotasResourcesDto object

Response body of the organization quotas.

Table 3 QuotasResourcesDto

Parameter

Type

Description

resources

Array of QuotaDto objects

Quota information.

Table 4 QuotaDto

Parameter

Type

Description

type

String

Quota type. It can be account, organizational_unit, or policy.

Minimum: 1

Maximum: 64

quota

Integer

Number of quotas.

min

Integer

Minimum quota.

max

Integer

Maximum quota.

used

Integer

Used quantity.

Example Requests

Listing Organizations quotas

GET https://{hostname}/v1/organizations/quotas

Example Responses

Status code: 200

Successful.

{
  "quotas" : {
    "resources" : [ {
      "type" : "string",
      "quota" : 0,
      "min" : 0,
      "max" : 1,
      "used" : 0
    } ]
  }
}

Status Codes

Status Code

Description

200

Successful.

Error Codes

See Error Codes.