Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before creating a list, make note of the [limitations](#limitations).
Lists can contain a single type of data each. Supported data types include:

- URLs
- Hostnames
- Hostnames or domains
- Serial numbers
- User email addresses
- IP addresses
Expand Down
4 changes: 2 additions & 2 deletions src/content/partials/cloudflare-one/gateway/lists.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ You can now use this list in the policy builder by choosing the _in list_ operat
<TabItem label="API">

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