Queries the domain names that can be bound to a custom protection policy.
Operation description
You can call this operation up to 20 times per second per account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DefenseScene | string | Yes | The type of the Web Application Firewall (WAF) protection policy. Valid values:
| custom_acl |
DomainNameLike | string | No | The protected domain name. Fuzzy search is supported. | example.com |
PageNumber | integer | No | The page number of the returned page. Valid values: 1 to 100000. Default value: 1. | 1 |
PageSize | integer | No | The number of domain names to return on each page. Valid values: an integer from 1 to 500. Default value: 20. | 20 |
Response parameters
Examples
Sample success responses
JSON
format
{
"PageSize": 20,
"RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92C630",
"PageNumber": 1,
"TotalCount": 2,
"Domains": [
{
"PolicyName": "test1",
"PolicyId": 1000001,
"DomainName": "example.com",
"PolicyType": "default",
"Policies": [
{
"Id": 10000002,
"Name": "test2",
"Type": "custom"
}
]
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
For a list of error codes, visit the Service error codes.