Skip to content

Commit 40c77c0

Browse files
authored
Update variables
1 parent de04882 commit 40c77c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ Block a section of a site without blocking the entire site. For example, you can
6969
<TabItem label="API">
7070

7171
```bash
72-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/rule \
72+
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/rule \
7373
--header "Content-Type: application/json" \
74-
--header "Authorization: Bearer <API_TOKEN>" \
74+
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
7575
--data '{
7676
"name": "Block sites by URL",
7777
"description": "Block specific parts of a site without blocking the hostname",

0 commit comments

Comments
 (0)