@@ -28,8 +28,8 @@ This policy allows users to access official corporate domains. By deploying the
2828
2929<TabItem label = " API" >
3030
31- ``` sh
32- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
31+ ``` bash
32+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
3333--header " Content-Type: application/json" \
3434--header " Authorization: Bearer <API_TOKEN>" \
3535--data ' {
@@ -63,8 +63,8 @@ Block [security categories](/cloudflare-one/policies/gateway/domain-categories/#
6363
6464<TabItem label = " API" >
6565
66- ``` sh
67- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
66+ ``` bash
67+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
6868--header " Content-Type: application/json" \
6969--header " Authorization: Bearer <API_TOKEN>" \
7070--data ' {
@@ -96,8 +96,8 @@ The categories included in this policy are not always a security threat, but blo
9696
9797<TabItem label = " API" >
9898
99- ``` sh
100- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
99+ ``` bash
100+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
101101--header " Content-Type: application/json" \
102102--header " Authorization: Bearer <API_TOKEN>" \
103103--data ' {
@@ -129,8 +129,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
129129
130130<TabItem label = " API" >
131131
132- ``` sh
133- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
132+ ``` bash
133+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
134134--header " Content-Type: application/json" \
135135--header " Authorization: Bearer <API_TOKEN>" \
136136--data ' {
@@ -162,8 +162,8 @@ You can implement policies to block websites hosted in countries categorized as
162162
163163<TabItem label = " API" >
164164
165- ``` sh
166- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
165+ ``` bash
166+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
167167--header " Content-Type: application/json" \
168168--header " Authorization: Bearer <API_TOKEN>" \
169169--data ' {
@@ -197,8 +197,8 @@ Blocking [frequently misused](https://www.spamhaus.org/statistics/tlds/) top-lev
197197
198198<TabItem label = " API" >
199199
200- ``` sh
201- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
200+ ``` bash
201+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
202202--header " Content-Type: application/json" \
203203--header " Authorization: Bearer <API_TOKEN>" \
204204--data ' {
@@ -231,8 +231,8 @@ To protect against [sophisticated phishing attacks](https://blog.cloudflare.com/
231231
232232<TabItem label = " API" >
233233
234- ``` sh
235- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
234+ ``` bash
235+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
236236--header " Content-Type: application/json" \
237237--header " Authorization: Bearer <API_TOKEN>" \
238238--data ' {
@@ -266,8 +266,8 @@ To safeguard user privacy, some organizations will block tracking domains such a
266266
267267<TabItem label = " API" >
268268
269- ``` sh
270- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
269+ ``` bash
270+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
271271--header " Content-Type: application/json" \
272272--header " Authorization: Bearer <API_TOKEN>" \
273273--data ' {
@@ -301,8 +301,8 @@ Block specific IP addresses that are known to be malicious or pose a threat to y
301301
302302<TabItem label = " API" >
303303
304- ``` sh
305- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
304+ ``` bash
305+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
306306--header " Content-Type: application/json" \
307307--header " Authorization: Bearer <API_TOKEN>" \
308308--data ' {
@@ -336,8 +336,8 @@ The CIPA (Children's Internet Protection Act) Filter is a collection of subcateg
336336
337337<TabItem label = " API" >
338338
339- ``` sh
340- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
339+ ``` bash
340+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
341341--header " Content-Type: application/json" \
342342--header " Authorization: Bearer <API_TOKEN>" \
343343--data ' {
@@ -369,8 +369,8 @@ SafeSearch is a feature of search engines that helps you filter explicit or offe
369369
370370<TabItem label = " API" >
371371
372- ``` sh
373- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
372+ ``` bash
373+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
374374--header " Content-Type: application/json" \
375375--header " Authorization: Bearer <API_TOKEN>" \
376376--data ' {
@@ -403,8 +403,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
403403
404404<TabItem label = " API" >
405405
406- ``` sh
407- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
406+ ``` bash
407+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
408408--header " Content-Type: application/json" \
409409--header " Authorization: Bearer <API_TOKEN>" \
410410--data ' {
@@ -441,8 +441,8 @@ The following example includes two policies. The first policy allows the specifi
441441
442442<TabItem label = " API" >
443443
444- ``` sh
445- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
444+ ``` bash
445+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
446446--header " Content-Type: application/json" \
447447--header " Authorization: Bearer <API_TOKEN>" \
448448--data ' {
@@ -473,8 +473,8 @@ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
473473
474474<TabItem label = " API" >
475475
476- ``` sh
477- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
476+ ``` bash
477+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
478478--header " Content-Type: application/json" \
479479--header " Authorization: Bearer <API_TOKEN>" \
480480--data ' {
@@ -516,8 +516,8 @@ Force users to connect with IPv4 by blocking IPv6 resolution.
516516
517517<TabItem label = " API" >
518518
519- ``` sh
520- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
519+ ``` bash
520+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
521521--header " Content-Type: application/json" \
522522--header " Authorization: Bearer <API_TOKEN>" \
523523--data ' {
@@ -550,8 +550,8 @@ Force users to connect with IPv6 by blocking IPv4 resolution.
550550
551551<TabItem label = " API" >
552552
553- ``` sh
554- curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule\
553+ ``` bash
554+ curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
555555--header " Content-Type: application/json" \
556556--header " Authorization: Bearer <API_TOKEN>" \
557557--data ' {
0 commit comments