Help Center/ Anti-DDoS Service/ API Reference/ AAD APIs/ AAD Protection Policies/ Querying Traffic Blocking Information
Updated on 2026-01-06 GMT+08:00

Querying Traffic Blocking Information

Function

This API is used to query traffic blocking information.

Calling Method

For details, see Calling APIs.

URI

GET /v2/aad/policies/ddos/flow-block

Table 1 Query Parameters

Parameter

Mandatory

Type

Description

instance_id

Yes

String

instanceId

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

total

Integer

total

ips

Array of Ips objects

ips

Table 4 Ips

Parameter

Type

Description

ip_id

String

ip id

ip

String

ip

isp

String

Line

data_center

String

Data center

foreign_switch_status

Integer

Blocking status of regions outside the Chinese mainland. *0: disabled. 1: enabled.

udp_switch_status

Integer

Whether to disable UDP. 0: disabled. 1: enabled.

Status code: 400

Table 5 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.