Cloudflare · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cloudflare Zero Trust Gateway rules API
10 actions
10 updates
phrasing
extends
openapi/cloudflare-zero-trust-gateway-rules-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/accounts/{account_id}/gateway/rules'].get
$.paths['/accounts/{account_id}/gateway/rules'].post
$.paths['/accounts/{account_id}/gateway/rules'].patch
$.paths['/accounts/{account_id}/gateway/rules/tenant'].get
$.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].get
$.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].put
$.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].delete
$.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].patch
$.paths['/accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Zero Trust Gateway rules API
version: 1.0.0
extends: openapi/cloudflare-zero-trust-gateway-rules-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 9
- target: $.paths['/accounts/{account_id}/gateway/rules'].get
update:
x-apievangelist-phrasing:
intent: List Zero Trust Gateway rules
effect: read
questions:
- What Zero Trust Gateway rules are configured for my account?
- Can I filter or search the Gateway rules?
instructions:
- text: List Zero Trust Gateway rules for account {account_id}.
slots:
account_id: path.account_id
- text: Find Gateway rules matching {filter} in account {account_id}.
slots:
filter: query.filter
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules'].post
update:
x-apievangelist-phrasing:
intent: Create a Zero Trust Gateway rule
effect: write
questions:
- How do I block or allow traffic to a domain with a Gateway rule?
- Can a new Gateway rule check device posture and identity?
instructions:
- text: Create a Gateway rule named {name} in account {account_id} with action {action}.
slots:
name: requestBody.name
account_id: path.account_id
action: requestBody.action
- text: Add a Gateway rule {name} in account {account_id} that blocks traffic {traffic} for identity {identity}.
slots:
name: requestBody.name
account_id: path.account_id
traffic: requestBody.traffic
identity: requestBody.identity
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules'].patch
update:
x-apievangelist-phrasing:
intent: Reorder several Gateway rules
effect: write
questions:
- Can I change the precedence of many Gateway rules in one request?
- Is there a bulk way to reorder Gateway rules?
instructions:
- text: Reorder multiple Gateway rules in account {account_id} by their precedence.
slots:
account_id: path.account_id
- text: Bulk update the precedence of several Gateway rules in account {account_id}.
slots:
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/tenant'].get
update:
x-apievangelist-phrasing:
intent: List parent account Gateway rules
effect: read
questions:
- Which Gateway rules does my account inherit from its parent?
- Can I see the parent account's Gateway rules?
instructions:
- text: List the Gateway rules inherited from the parent account for account {account_id}.
slots:
account_id: path.account_id
- text: Show parent account Gateway rules for account {account_id}.
slots:
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].get
update:
x-apievangelist-phrasing:
intent: Get one Gateway rule
effect: read
questions:
- What action and precedence does a specific Gateway rule have?
- Can I look up a single Gateway rule by ID?
instructions:
- text: Show Gateway rule {rule_id} in account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
- text: Get the action and precedence of rule {rule_id} for account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].put
update:
x-apievangelist-phrasing:
intent: Replace a Gateway rule
effect: write
questions:
- How do I fully replace a Gateway rule with a new action and traffic filter?
- Can I change the action and device posture check on a Gateway rule?
instructions:
- text: Replace Gateway rule {rule_id} in account {account_id} with action {action} and name {name}.
slots:
rule_id: path.rule_id
account_id: path.account_id
action: requestBody.action
name: requestBody.name
- text: Fully update rule {rule_id} in account {account_id} to check device posture {device_posture}.
slots:
rule_id: path.rule_id
account_id: path.account_id
device_posture: requestBody.device_posture
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a Gateway rule
effect: destructive
questions:
- How do I remove a Gateway rule?
- Can I delete a Zero Trust Gateway rule by ID?
instructions:
- text: Delete Gateway rule {rule_id} from account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
- text: Remove the Zero Trust Gateway rule {rule_id} in account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/{rule_id}'].patch
update:
x-apievangelist-phrasing:
intent: Change a Gateway rule's name, description or precedence
effect: write
questions:
- Can I change just the name or precedence of a Gateway rule?
- Which fields can I update on a Gateway rule without a full replace?
instructions:
- text: Rename Gateway rule {rule_id} in account {account_id} to {name}.
slots:
rule_id: path.rule_id
account_id: path.account_id
name: requestBody.name
- text: Set the precedence of rule {rule_id} in account {account_id} to {precedence}.
slots:
rule_id: path.rule_id
account_id: path.account_id
precedence: requestBody.precedence
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration'].post
update:
x-apievangelist-phrasing:
intent: Reset a Gateway rule's expiration
effect: write
questions:
- Can I reset a Gateway rule's expiration so it stays active?
- What happens to a Gateway rule whose duration ran out?
instructions:
- text: Reset the expiration of Gateway rule {rule_id} in account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
- text: Extend the active period of rule {rule_id} for account {account_id}.
slots:
rule_id: path.rule_id
account_id: path.account_id
method: generated
generated: '2026-11-23'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-zero-trust-gateway-rules-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.