Query the Access IP Control
Last Updated:2020-09-17
This interface is used to query the IP control of the domain name.
| Method | Path | Description |
|---|---|---|
| GET | /v2/domain/{domain}/config?ipACL | Query IP access configuration |
domain:Modify the configured CDN acceleration domain name.
Request body
NULL
Response body
| Parameter | Optional | Type | Description |
|---|---|---|---|
| ipACL | Required | ipACL | Access IP configuration rules |
The ipACL types are as follows:
| Parameter | Optional | Type | Description |
|---|---|---|---|
| blackList | Optional | list |
IP blacklist, support IP segments in CIDR format |
| whiteList | Optional | list |
IP whitelist, support IP segments in CIDR format |
blackList and whiteList cannot exist at the same time.
Response code (Http Status Code)
| HTTP Status Code | Description |
|---|---|
| 200 | Success |
| 400 | Update failures, parameter errors, etc. |
Response example
HTTP/1.1 200 OK
Server: nginx/1.14.0
Date: Wed, 21 Aug 2019 03:29:25 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.6.36
x-bce-request-id: f0d01040-2bd4-b036-d559-c9d7a7e780ef
{"ipACL":{}} 