put https://{hostname}/appsec/v1/configs//versions//security-policies//eval-hostnames
Update the list of hostnames you want to evaluate for a configuration version. Products: Web Application Protector, App & API Protector.
Responses
Update the list of hostnames you want to evaluate for a configuration version. Products: Web Application Protector, App & API Protector.
xxxxxxxxxx
curl --request PUT \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/security-policies/policyId/eval-hostnames \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
{
"hostnames": [
"*.example.net",
"example.com",
"m.example.com"
],
"mode": "append"
}