get https://{hostname}/appsec/v1/configs//versions//selected-hostnames
All products List the hostnames that the configuration version selects as candidates of protected hostnames, which you can use in match targets.
Responses
All products List the hostnames that the configuration version selects as candidates of protected hostnames, which you can use in match targets.
xxxxxxxxxx
curl --request GET \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/selected-hostnames \
--header 'accept: application/json'
xxxxxxxxxx
14{
"hostnameList": [
{
"hostname": "*.example.net"
},
{
"hostname": "example.com"
},
{
"hostname": "m.example.com"
}
],
"mode": "append"
}