v1
latestOpenAPI 3.0.02026-07-2634192196.8 KBfiltering-rules
Mutate filtering rules
Allows atomic mutation to filtering rules for an environment. Explicitly specify which list (allow or deny) you are mutating and which operation (add or remove) you want to execute with the given list of items. Currently only supports origin domain filtering.
Note: It can take up to 5 minutes to start filtering incoming requests after setting a rule.
patch/filtering-rules
Headers
X-API-Versionstring required
Management API version.
Request body
Response
Example response
{
"data": [
{
"type": "origin",
"environment": "ae_rrETjdWcfqI6AFsk",
"allow": [
"example.com",
"my-website.com"
],
"deny": [
"*"
]
}
]
}