Updated on 2026-01-06 GMT+08:00

Querying Quotas

Function

This API is used to query the quota list.

Calling Method

For details, see Calling APIs.

URI

GET /v2/aad/user/quotas

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

type

Yes

String

Request type. The value can be instance, domain, port, WAF quota, or domain_port.

overseas_type

No

String

Protected zone. This parameter is required if type is set to domain.

ip

No

String

AAD IP address. This parameter is mandatory if type is set to port.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

token

Content-Type

Yes

String

Content-Type

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

domain

Integer

Remaining domain name quota

instance

Integer

Remaining instance quota

port

Integer

Remaining quota of the forwarding configuration for the specified IP address

domain_port_quota

Integer

Domain name server configuration quota

cc_quota

Integer

WAF CC rule quota

custom

Integer

WAF precise protection rule quota

geo_ip

Integer

WAF regional protection quota

white_ip

Integer

WAF whitelist quota

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_description

String

Error description.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

400

Error response

Error Codes

See Error Codes.