Skip to content
Start here

Settings

Get device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Get(ctx, query) (*DeviceSettings, error)
GET/accounts/{account_id}/devices/settings
Update device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Update(ctx, params) (*DeviceSettings, error)
PUT/accounts/{account_id}/devices/settings
Patch device settings for a Zero Trust account
client.ZeroTrust.Devices.Settings.Edit(ctx, params) (*DeviceSettings, error)
PATCH/accounts/{account_id}/devices/settings
Reset device settings for a Zero Trust account with defaults. This turns off all proxying.
client.ZeroTrust.Devices.Settings.Delete(ctx, body) (*DeviceSettings, error)
DELETE/accounts/{account_id}/devices/settings
ModelsExpand Collapse
type DeviceSettings struct{…}
DisableForTime float64optional

Sets the time limit, in seconds, that a user can use an override code to bypass WARP.

ExternalEmergencySignalEnabled booloptional

Controls whether the external emergency disconnect feature is enabled.

ExternalEmergencySignalFingerprint stringoptional

The SHA256 fingerprint (64 hexadecimal characters) of the HTTPS server certificate for the external_emergency_signal_url. If provided, the WARP client will use this value to verify the server's identity. The device will ignore any response if the server's certificate fingerprint does not exactly match this value.

ExternalEmergencySignalInterval stringoptional

The interval at which the WARP client fetches the emergency disconnect signal, formatted as a duration string (e.g., "5m", "2m30s", "1h"). Minimum 30 seconds.

ExternalEmergencySignalURL stringoptional

The HTTPS URL from which to fetch the emergency disconnect signal. Must use HTTPS and have an IPv4 or IPv6 address as the host.

GatewayProxyEnabled booloptional

Enable gateway proxy filtering on TCP.

GatewayUdpProxyEnabled booloptional

Enable gateway proxy filtering on UDP.

RootCertificateInstallationEnabled booloptional

Enable installation of cloudflare managed root certificate.

UseZtVirtualIP booloptional

Enable using CGNAT virtual IPv4.