Skip to main content
The Zero Trust API provides comprehensive access control and security features for your organization, including device management, identity providers, secure access policies, and gateway configurations.

Initialize the Zero Trust resource

Sub-resources

The Zero Trust API provides access to several specialized resources:

Devices

Manage devices that connect to your Zero Trust network.

Identity providers

Configure identity providers for authentication.

Organizations

Manage your Zero Trust organization settings.

Seats

Manage user seats in your Zero Trust organization.

Access

Manage access policies, applications, and groups.

Gateway

Configure secure web gateway policies.

Tunnels

Manage Cloudflare Tunnels for secure access to private networks.

DEX (Digital Experience Monitoring)

Monitor digital experience metrics.

DLP (Data Loss Prevention)

Configure data loss prevention policies.

Networks

Manage Zero Trust network configurations.

Connectivity settings

Configure connectivity settings for Zero Trust.

Risk scoring

Manage risk scoring for user behavior analytics.

Types

Device

Represents a device in your Zero Trust network.
string
required
Device identifier
string
Device key
string
Type of device (e.g., ‘windows’, ‘mac’, ‘linux’, ‘ios’, ‘android’)
string
Device name
object
User associated with the device

IdentityProvider

Configuration for an identity provider.
string
Identity provider identifier
string
required
Provider name
string
required
Provider type (e.g., ‘azureAD’, ‘okta’, ‘google’, ‘saml’)
object
required
Provider-specific configuration

Organization

Your Zero Trust organization settings.
string
required
Organization name
string
required
Authentication domain
object
Customization for the login page