## Get device settings for a Zero Trust account `client.zeroTrust.devices.settings.get(SettingGetParamsparams, RequestOptionsoptions?): DeviceSettings | null` **get** `/accounts/{account_id}/devices/settings` Describes the current device settings for a Zero Trust account. ### Parameters - `params: SettingGetParams` - `account_id: string` ### Returns - `DeviceSettings | null` - `disable_for_time?: number` Sets the time limit, in seconds, that a user can use an override code to bypass WARP. - `external_emergency_signal_enabled?: boolean` Controls whether the external emergency disconnect feature is enabled. - `external_emergency_signal_fingerprint?: string` 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. - `external_emergency_signal_interval?: string` 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. - `external_emergency_signal_url?: string` The HTTPS URL from which to fetch the emergency disconnect signal. Must use HTTPS and have an IPv4 or IPv6 address as the host. - `gateway_proxy_enabled?: boolean` Enable gateway proxy filtering on TCP. - `gateway_udp_proxy_enabled?: boolean` Enable gateway proxy filtering on UDP. - `root_certificate_installation_enabled?: boolean` Enable installation of cloudflare managed root certificate. - `use_zt_virtual_ip?: boolean` Enable using CGNAT virtual IPv4. ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const deviceSettings = await client.zeroTrust.devices.settings.get({ account_id: '699d98642c564d2e855e9661899b7252', }); console.log(deviceSettings.disable_for_time); ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "result": { "disable_for_time": 0, "external_emergency_signal_enabled": true, "external_emergency_signal_fingerprint": "abcd1234567890abcd1234567890abcd1234567890abcd1234567890abcd1234", "external_emergency_signal_interval": "5m", "external_emergency_signal_url": "https://192.0.2.1/signal", "gateway_proxy_enabled": true, "gateway_udp_proxy_enabled": true, "root_certificate_installation_enabled": true, "use_zt_virtual_ip": true }, "success": true } ```