Querying a Resource Quota

Function

This API is used to query a resource quota. You can query the quota of users, user groups, identity providers, agencies, and policies.

URI

Request Parameters

Response Parameters

Table 1 Parameters in the response body

Parameter

Type

Description

quotas

Object

Quota information of the domain.

Table 2 quotas

Parameter

Type

Description

resources

Array of objects

Resource information.

Table 3 resources

Parameter

Type

Description

max

Integer

Maximum quota.

min

Integer

Minimum quota.

quota

Integer

Current quota.

type

String

Quota type.

used

Integer

Used quota.

Status Codes

Status Code

Description

200

The request is successful.

400

The server failed to process the request.

401

Authentication failed.

403

Access denied.

500

Internal server error.

503

Service unavailable.