Skip to content

Commit 2f51bf6

Browse files
authored
[Gateway] Lists domain name support (#19922)
1 parent cae9435 commit 2f51bf6

File tree

2 files changed

+3
-3
lines changed
  • src/content

2 files changed

+3
-3
lines changed

src/content/docs/cloudflare-one/policies/gateway/lists.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before creating a list, make note of the [limitations](#limitations).
1616
Lists can contain a single type of data each. Supported data types include:
1717

1818
- URLs
19-
- Hostnames
19+
- Hostnames or domains
2020
- Serial numbers
2121
- User email addresses
2222
- IP addresses

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)