Skip to content

Commit b0c12e5

Browse files
committed
Update API call variables
1 parent 6cb16df commit b0c12e5

File tree

1 file changed

+2
-2
lines changed
  • src/content/partials/cloudflare-one/gateway

1 file changed

+2
-2
lines changed

src/content/partials/cloudflare-one/gateway/lists.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ You can now use this list in the policy builder by choosing the _in list_ operat
4848
<TabItem label="API">
4949

5050
```bash
51-
curl https://api.cloudflare.com/client/v4/accounts/{account_id}/gateway/lists \
51+
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/lists \
5252
--header "Content-Type: application/json" \
53-
--header "Authorization: Bearer <API_TOKEN>" \
53+
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
5454
--data '{
5555
"description": "Private application IPs",
5656
"items": [{"value": "10.226.0.177/32"},{"value": "10.226.1.177/32"}],

0 commit comments

Comments
 (0)