DeviceSettings
Source:
src/Cloudflare/Devices/Settings.ts
Manages the singleton Cloudflare Zero Trust device settings for
an account (/accounts/{accountId}/devices/settings) — account-wide
WARP toggles like the Gateway TCP/UDP proxy, managed root certificate
installation, and CGNAT virtual IP.
The singleton always exists, so reconcile patches only the declared fields in place. The pre-management snapshot is captured on first touch and restored on destroy (capture-and-restore), returning the account to the state Alchemy found it in.
Managing device settings
Section titled “Managing device settings”Enable the Gateway proxy
yield* Cloudflare.DeviceSettings("Devices", { gatewayProxyEnabled: true, gatewayUdpProxyEnabled: true,});Allow one-hour WARP override codes
yield* Cloudflare.DeviceSettings("Devices", { disableForTime: 3600,});