Skip to content

Commit bd12d2d

Browse files
committed
Update API calls
1 parent 90b1085 commit bd12d2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/cloudflare-one/policies/gateway/dns-policies/common-policies.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
458458
"filters": [
459459
"dns"
460460
],
461-
"traffic": "dns.query_rtype == \"AAAA\" and any(dns.domains[*] == \"example.com\")",
461+
"traffic": "dns.query_rtype == \"AAAA\"",
462462
"identity": ""
463463
}'
464464
```
@@ -491,7 +491,7 @@ curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
491491
"filters": [
492492
"dns"
493493
],
494-
"traffic": "dns.query_rtype == \"A\" and any(dns.domains[*] == \"example.com\")",
494+
"traffic": "dns.query_rtype == \"A\"",
495495
"identity": ""
496496
}'
497497
```

0 commit comments

Comments
 (0)