Skip to content

Gateway API examples

You can use the Cloudflare Gateway API to create DNS, network, and HTTP policies, including policies with multiple traffic, identity, and device posture conditions.

Example policies

DNS policy

Block users in a group from accessing a site.

HTTP policy

Block specific users from accessing a site.