Authorization: Bearer ********************curl --location --request POST 'https://api-staging.tenbyte.io/v1/distributions/d774626e-7ca9-4807-86b9-9c7632113d35/access-rules' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "block country",
"match_type": "regex",
"match_pattern": "/(login|offer)",
"config": {
"ip_access": {
"enabled": true,
"values": [
"113.11.48.0/20"
],
"action": "deny"
}
},
"referrer_access": {
"action": "",
"values": null,
"enabled": true
}
}'{}