Authorization: Bearer ********************
{
"data":{
"attributes":{
"mode": "blacklist",
"countries": ["de"]
}
}
}
curl --location --request POST 'https://api.servebolt.io/v1/provisioning/security/domains/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data":{
"attributes":{
"mode": "blacklist",
"countries": ["de"]
}
}
}'
{
"data": {
"id": 324,
"type": "cdn_domain_security",
"attributes": {
"domain": "test.com",
"security": {
"mode": "blacklist",
"countries": [
"de"
],
"block_paths": null
}
}
}
}