## Edit zone setting `client.Zones.Settings.Edit(ctx, settingID, params) (*SettingEditResponse, error)` **patch** `/zones/{zone_id}/settings/{setting_id}` Updates a single zone setting by the identifier ### Parameters - `settingID string` Setting name - `params SettingEditParams` - `ZoneID param.Field[string]` Path param: Identifier - `Enabled param.Field[bool]` Body param: ssl-recommender enrollment setting. ### Returns - `type SettingEditResponse interface{…}` 0-RTT session resumption enabled for this zone. - `type ZeroRTT struct{…}` 0-RTT session resumption enabled for this zone. - `ID ZeroRTTID` ID of the zone setting. - `const ZeroRTTID0rtt ZeroRTTID = "0rtt"` - `Value ZeroRTTValue` Current value of the zone setting. - `const ZeroRTTValueOn ZeroRTTValue = "on"` - `const ZeroRTTValueOff ZeroRTTValue = "off"` - `Editable ZeroRTTEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const ZeroRTTEditableTrue ZeroRTTEditable = true` - `const ZeroRTTEditableFalse ZeroRTTEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type AdvancedDDoS struct{…}` Advanced protection from Distributed Denial of Service (DDoS) attacks on your website. This is an uneditable value that is 'on' in the case of Business and Enterprise zones. - `ID AdvancedDDoSID` ID of the zone setting. - `const AdvancedDDoSIDAdvancedDDoS AdvancedDDoSID = "advanced_ddos"` - `Value AdvancedDDoSValue` Current value of the zone setting. - `const AdvancedDDoSValueOn AdvancedDDoSValue = "on"` - `const AdvancedDDoSValueOff AdvancedDDoSValue = "off"` - `Editable AdvancedDDoSEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const AdvancedDDoSEditableTrue AdvancedDDoSEditable = true` - `const AdvancedDDoSEditableFalse AdvancedDDoSEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesCacheRulesAegis struct{…}` Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses. - `ID SettingEditResponseZonesCacheRulesAegisID` ID of the zone setting. - `const SettingEditResponseZonesCacheRulesAegisIDAegis SettingEditResponseZonesCacheRulesAegisID = "aegis"` - `ModifiedOn Time` Last time this setting was modified. - `Value SettingEditResponseZonesCacheRulesAegisValue` Value of the zone setting. - `Enabled bool` Whether the feature is enabled or not. - `PoolID string` Egress pool id which refers to a grouping of dedicated egress IPs through which Cloudflare will connect to origin. - `type AlwaysOnline struct{…}` When enabled, Cloudflare serves limited copies of web pages available from the [Internet Archive's Wayback Machine](https://archive.org/web/) if your server is offline. Refer to [Always Online](https://developers.cloudflare.com/cache/about/always-online) for more information. - `ID AlwaysOnlineID` ID of the zone setting. - `const AlwaysOnlineIDAlwaysOnline AlwaysOnlineID = "always_online"` - `Value AlwaysOnlineValue` Current value of the zone setting. - `const AlwaysOnlineValueOn AlwaysOnlineValue = "on"` - `const AlwaysOnlineValueOff AlwaysOnlineValue = "off"` - `Editable AlwaysOnlineEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const AlwaysOnlineEditableTrue AlwaysOnlineEditable = true` - `const AlwaysOnlineEditableFalse AlwaysOnlineEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasAlwaysUseHTTPS struct{…}` Reply to all requests for URLs that use "http" with a 301 redirect to the equivalent "https" URL. If you only want to redirect for a subset of requests, consider creating an "Always use HTTPS" page rule. - `ID SettingEditResponseZonesSchemasAlwaysUseHTTPSID` ID of the zone setting. - `const SettingEditResponseZonesSchemasAlwaysUseHTTPSIDAlwaysUseHTTPS SettingEditResponseZonesSchemasAlwaysUseHTTPSID = "always_use_https"` - `Value SettingEditResponseZonesSchemasAlwaysUseHTTPSValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasAlwaysUseHTTPSValueOn SettingEditResponseZonesSchemasAlwaysUseHTTPSValue = "on"` - `const SettingEditResponseZonesSchemasAlwaysUseHTTPSValueOff SettingEditResponseZonesSchemasAlwaysUseHTTPSValue = "off"` - `Editable SettingEditResponseZonesSchemasAlwaysUseHTTPSEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasAlwaysUseHTTPSEditableTrue SettingEditResponseZonesSchemasAlwaysUseHTTPSEditable = true` - `const SettingEditResponseZonesSchemasAlwaysUseHTTPSEditableFalse SettingEditResponseZonesSchemasAlwaysUseHTTPSEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasAutomaticHTTPSRewrites struct{…}` Enable the Automatic HTTPS Rewrites feature for this zone. - `ID SettingEditResponseZonesSchemasAutomaticHTTPSRewritesID` ID of the zone setting. - `const SettingEditResponseZonesSchemasAutomaticHTTPSRewritesIDAutomaticHTTPSRewrites SettingEditResponseZonesSchemasAutomaticHTTPSRewritesID = "automatic_https_rewrites"` - `Value SettingEditResponseZonesSchemasAutomaticHTTPSRewritesValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasAutomaticHTTPSRewritesValueOn SettingEditResponseZonesSchemasAutomaticHTTPSRewritesValue = "on"` - `const SettingEditResponseZonesSchemasAutomaticHTTPSRewritesValueOff SettingEditResponseZonesSchemasAutomaticHTTPSRewritesValue = "off"` - `Editable SettingEditResponseZonesSchemasAutomaticHTTPSRewritesEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasAutomaticHTTPSRewritesEditableTrue SettingEditResponseZonesSchemasAutomaticHTTPSRewritesEditable = true` - `const SettingEditResponseZonesSchemasAutomaticHTTPSRewritesEditableFalse SettingEditResponseZonesSchemasAutomaticHTTPSRewritesEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type Brotli struct{…}` When the client requesting an asset supports the Brotli compression algorithm, Cloudflare will serve a Brotli compressed version of the asset. - `ID BrotliID` ID of the zone setting. - `const BrotliIDBrotli BrotliID = "brotli"` - `Value BrotliValue` Current value of the zone setting. - `const BrotliValueOff BrotliValue = "off"` - `const BrotliValueOn BrotliValue = "on"` - `Editable BrotliEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const BrotliEditableTrue BrotliEditable = true` - `const BrotliEditableFalse BrotliEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasBrowserCacheTTL struct{…}` Browser Cache TTL (in seconds) specifies how long Cloudflare-cached resources will remain on your visitors' computers. Cloudflare will honor any larger times specified by your server. (https://support.cloudflare.com/hc/en-us/articles/200168276). - `ID SettingEditResponseZonesSchemasBrowserCacheTTLID` ID of the zone setting. - `const SettingEditResponseZonesSchemasBrowserCacheTTLIDBrowserCacheTTL SettingEditResponseZonesSchemasBrowserCacheTTLID = "browser_cache_ttl"` - `Value int64` Current value of the zone setting. - `Editable SettingEditResponseZonesSchemasBrowserCacheTTLEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasBrowserCacheTTLEditableTrue SettingEditResponseZonesSchemasBrowserCacheTTLEditable = true` - `const SettingEditResponseZonesSchemasBrowserCacheTTLEditableFalse SettingEditResponseZonesSchemasBrowserCacheTTLEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasBrowserCheck struct{…}` Browser Integrity Check is similar to Bad Behavior and looks for common HTTP headers abused most commonly by spammers and denies access to your page. It will also challenge visitors that do not have a user agent or a non standard user agent (also commonly used by abuse bots, crawlers or visitors). (https://support.cloudflare.com/hc/en-us/articles/200170086). - `ID SettingEditResponseZonesSchemasBrowserCheckID` ID of the zone setting. - `const SettingEditResponseZonesSchemasBrowserCheckIDBrowserCheck SettingEditResponseZonesSchemasBrowserCheckID = "browser_check"` - `Value SettingEditResponseZonesSchemasBrowserCheckValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasBrowserCheckValueOn SettingEditResponseZonesSchemasBrowserCheckValue = "on"` - `const SettingEditResponseZonesSchemasBrowserCheckValueOff SettingEditResponseZonesSchemasBrowserCheckValue = "off"` - `Editable SettingEditResponseZonesSchemasBrowserCheckEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasBrowserCheckEditableTrue SettingEditResponseZonesSchemasBrowserCheckEditable = true` - `const SettingEditResponseZonesSchemasBrowserCheckEditableFalse SettingEditResponseZonesSchemasBrowserCheckEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasCacheLevel struct{…}` Cache Level functions based off the setting level. The basic setting will cache most static resources (i.e., css, images, and JavaScript). The simplified setting will ignore the query string when delivering a cached resource. The aggressive setting will cache all static resources, including ones with a query string. (https://support.cloudflare.com/hc/en-us/articles/200168256). - `ID SettingEditResponseZonesSchemasCacheLevelID` ID of the zone setting. - `const SettingEditResponseZonesSchemasCacheLevelIDCacheLevel SettingEditResponseZonesSchemasCacheLevelID = "cache_level"` - `Value SettingEditResponseZonesSchemasCacheLevelValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasCacheLevelValueAggressive SettingEditResponseZonesSchemasCacheLevelValue = "aggressive"` - `const SettingEditResponseZonesSchemasCacheLevelValueBasic SettingEditResponseZonesSchemasCacheLevelValue = "basic"` - `const SettingEditResponseZonesSchemasCacheLevelValueSimplified SettingEditResponseZonesSchemasCacheLevelValue = "simplified"` - `Editable SettingEditResponseZonesSchemasCacheLevelEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasCacheLevelEditableTrue SettingEditResponseZonesSchemasCacheLevelEditable = true` - `const SettingEditResponseZonesSchemasCacheLevelEditableFalse SettingEditResponseZonesSchemasCacheLevelEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type ChallengeTTL struct{…}` Specify how long a visitor is allowed access to your site after successfully completing a challenge (such as a CAPTCHA). After the TTL has expired the visitor will have to complete a new challenge. We recommend a 15 - 45 minute setting and will attempt to honor any setting above 45 minutes. (https://support.cloudflare.com/hc/en-us/articles/200170136). - `ID ChallengeTTLID` ID of the zone setting. - `const ChallengeTTLIDChallengeTTL ChallengeTTLID = "challenge_ttl"` - `Value ChallengeTTLValue` Current value of the zone setting. - `const ChallengeTTLValue300 ChallengeTTLValue = 300` - `const ChallengeTTLValue900 ChallengeTTLValue = 900` - `const ChallengeTTLValue1800 ChallengeTTLValue = 1800` - `const ChallengeTTLValue2700 ChallengeTTLValue = 2700` - `const ChallengeTTLValue3600 ChallengeTTLValue = 3600` - `const ChallengeTTLValue7200 ChallengeTTLValue = 7200` - `const ChallengeTTLValue10800 ChallengeTTLValue = 10800` - `const ChallengeTTLValue14400 ChallengeTTLValue = 14400` - `const ChallengeTTLValue28800 ChallengeTTLValue = 28800` - `const ChallengeTTLValue57600 ChallengeTTLValue = 57600` - `const ChallengeTTLValue86400 ChallengeTTLValue = 86400` - `const ChallengeTTLValue604800 ChallengeTTLValue = 604800` - `const ChallengeTTLValue2592000 ChallengeTTLValue = 2592000` - `const ChallengeTTLValue31536000 ChallengeTTLValue = 31536000` - `Editable ChallengeTTLEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const ChallengeTTLEditableTrue ChallengeTTLEditable = true` - `const ChallengeTTLEditableFalse ChallengeTTLEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesChinaNetworkEnabled struct{…}` Determines whether or not the china network is enabled. - `ID SettingEditResponseZonesChinaNetworkEnabledID` ID of the zone setting. - `const SettingEditResponseZonesChinaNetworkEnabledIDChinaNetworkEnabled SettingEditResponseZonesChinaNetworkEnabledID = "china_network_enabled"` - `Value SettingEditResponseZonesChinaNetworkEnabledValue` Current value of the zone setting. - `const SettingEditResponseZonesChinaNetworkEnabledValueOn SettingEditResponseZonesChinaNetworkEnabledValue = "on"` - `const SettingEditResponseZonesChinaNetworkEnabledValueOff SettingEditResponseZonesChinaNetworkEnabledValue = "off"` - `Editable SettingEditResponseZonesChinaNetworkEnabledEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesChinaNetworkEnabledEditableTrue SettingEditResponseZonesChinaNetworkEnabledEditable = true` - `const SettingEditResponseZonesChinaNetworkEnabledEditableFalse SettingEditResponseZonesChinaNetworkEnabledEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesContentConverter struct{…}` When enabled and the client sends an Accept header requesting text/markdown, Cloudflare will convert HTML responses to Markdown format using the toMarkdown() service. Refer to the [developer documentation](https://developers.cloudflare.com/workers-ai/features/markdown-conversion/) for more information. - `ID SettingEditResponseZonesContentConverterID` ID of the zone setting. - `const SettingEditResponseZonesContentConverterIDContentConverter SettingEditResponseZonesContentConverterID = "content_converter"` - `Value SettingEditResponseZonesContentConverterValue` Current value of the zone setting. - `const SettingEditResponseZonesContentConverterValueOff SettingEditResponseZonesContentConverterValue = "off"` - `const SettingEditResponseZonesContentConverterValueOn SettingEditResponseZonesContentConverterValue = "on"` - `Editable SettingEditResponseZonesContentConverterEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesContentConverterEditableTrue SettingEditResponseZonesContentConverterEditable = true` - `const SettingEditResponseZonesContentConverterEditableFalse SettingEditResponseZonesContentConverterEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type Ciphers struct{…}` An allowlist of ciphers for TLS termination. These ciphers must be in the BoringSSL format. - `ID CiphersID` ID of the zone setting. - `const CiphersIDCiphers CiphersID = "ciphers"` - `Value []string` Current value of the zone setting. - `Editable CiphersEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const CiphersEditableTrue CiphersEditable = true` - `const CiphersEditableFalse CiphersEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesCNAMEFlattening struct{…}` Whether or not cname flattening is on. - `ID SettingEditResponseZonesCNAMEFlatteningID` How to flatten the cname destination. - `const SettingEditResponseZonesCNAMEFlatteningIDCNAMEFlattening SettingEditResponseZonesCNAMEFlatteningID = "cname_flattening"` - `Value SettingEditResponseZonesCNAMEFlatteningValue` Current value of the zone setting. - `const SettingEditResponseZonesCNAMEFlatteningValueFlattenAtRoot SettingEditResponseZonesCNAMEFlatteningValue = "flatten_at_root"` - `const SettingEditResponseZonesCNAMEFlatteningValueFlattenAll SettingEditResponseZonesCNAMEFlatteningValue = "flatten_all"` - `Editable SettingEditResponseZonesCNAMEFlatteningEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesCNAMEFlatteningEditableTrue SettingEditResponseZonesCNAMEFlatteningEditable = true` - `const SettingEditResponseZonesCNAMEFlatteningEditableFalse SettingEditResponseZonesCNAMEFlatteningEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type DevelopmentMode struct{…}` Development Mode temporarily allows you to enter development mode for your websites if you need to make changes to your site. This will bypass Cloudflare's accelerated cache and slow down your site, but is useful if you are making changes to cacheable content (like images, css, or JavaScript) and would like to see those changes right away. Once entered, development mode will last for 3 hours and then automatically toggle off. - `ID DevelopmentModeID` ID of the zone setting. - `const DevelopmentModeIDDevelopmentMode DevelopmentModeID = "development_mode"` - `Value DevelopmentModeValue` Current value of the zone setting. - `const DevelopmentModeValueOn DevelopmentModeValue = "on"` - `const DevelopmentModeValueOff DevelopmentModeValue = "off"` - `Editable DevelopmentModeEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const DevelopmentModeEditableTrue DevelopmentModeEditable = true` - `const DevelopmentModeEditableFalse DevelopmentModeEditable = false` - `ModifiedOn Time` last time this setting was modified. - `TimeRemaining float64` Value of the zone setting. Notes: The interval (in seconds) from when development mode expires (positive integer) or last expired (negative integer) for the domain. If development mode has never been enabled, this value is false. - `type EarlyHints struct{…}` When enabled, Cloudflare will attempt to speed up overall page loads by serving `103` responses with `Link` headers from the final response. Refer to [Early Hints](https://developers.cloudflare.com/cache/about/early-hints) for more information. - `ID EarlyHintsID` ID of the zone setting. - `const EarlyHintsIDEarlyHints EarlyHintsID = "early_hints"` - `Value EarlyHintsValue` Current value of the zone setting. - `const EarlyHintsValueOn EarlyHintsValue = "on"` - `const EarlyHintsValueOff EarlyHintsValue = "off"` - `Editable EarlyHintsEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const EarlyHintsEditableTrue EarlyHintsEditable = true` - `const EarlyHintsEditableFalse EarlyHintsEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasEdgeCacheTTL struct{…}` Time (in seconds) that a resource will be ensured to remain on Cloudflare's cache servers. - `ID SettingEditResponseZonesSchemasEdgeCacheTTLID` ID of the zone setting. - `const SettingEditResponseZonesSchemasEdgeCacheTTLIDEdgeCacheTTL SettingEditResponseZonesSchemasEdgeCacheTTLID = "edge_cache_ttl"` - `Value SettingEditResponseZonesSchemasEdgeCacheTTLValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue30 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 30` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue60 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 60` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue300 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 300` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue1200 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 1200` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue1800 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 1800` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue3600 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 3600` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue7200 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 7200` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue10800 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 10800` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue14400 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 14400` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue18000 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 18000` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue28800 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 28800` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue43200 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 43200` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue57600 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 57600` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue72000 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 72000` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue86400 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 86400` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue172800 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 172800` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue259200 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 259200` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue345600 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 345600` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue432000 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 432000` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue518400 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 518400` - `const SettingEditResponseZonesSchemasEdgeCacheTTLValue604800 SettingEditResponseZonesSchemasEdgeCacheTTLValue = 604800` - `Editable SettingEditResponseZonesSchemasEdgeCacheTTLEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasEdgeCacheTTLEditableTrue SettingEditResponseZonesSchemasEdgeCacheTTLEditable = true` - `const SettingEditResponseZonesSchemasEdgeCacheTTLEditableFalse SettingEditResponseZonesSchemasEdgeCacheTTLEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasEmailObfuscation struct{…}` Encrypt email adresses on your web page from bots, while keeping them visible to humans. (https://support.cloudflare.com/hc/en-us/articles/200170016). - `ID SettingEditResponseZonesSchemasEmailObfuscationID` ID of the zone setting. - `const SettingEditResponseZonesSchemasEmailObfuscationIDEmailObfuscation SettingEditResponseZonesSchemasEmailObfuscationID = "email_obfuscation"` - `Value SettingEditResponseZonesSchemasEmailObfuscationValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasEmailObfuscationValueOn SettingEditResponseZonesSchemasEmailObfuscationValue = "on"` - `const SettingEditResponseZonesSchemasEmailObfuscationValueOff SettingEditResponseZonesSchemasEmailObfuscationValue = "off"` - `Editable SettingEditResponseZonesSchemasEmailObfuscationEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasEmailObfuscationEditableTrue SettingEditResponseZonesSchemasEmailObfuscationEditable = true` - `const SettingEditResponseZonesSchemasEmailObfuscationEditableFalse SettingEditResponseZonesSchemasEmailObfuscationEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type H2Prioritization struct{…}` HTTP/2 Edge Prioritization optimises the delivery of resources served through HTTP/2 to improve page load performance. It also supports fine control of content delivery when used in conjunction with Workers. - `ID H2PrioritizationID` ID of the zone setting. - `const H2PrioritizationIDH2Prioritization H2PrioritizationID = "h2_prioritization"` - `Value H2PrioritizationValue` Current value of the zone setting. - `const H2PrioritizationValueOn H2PrioritizationValue = "on"` - `const H2PrioritizationValueOff H2PrioritizationValue = "off"` - `const H2PrioritizationValueCustom H2PrioritizationValue = "custom"` - `Editable H2PrioritizationEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const H2PrioritizationEditableTrue H2PrioritizationEditable = true` - `const H2PrioritizationEditableFalse H2PrioritizationEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type HotlinkProtection struct{…}` When enabled, the Hotlink Protection option ensures that other sites cannot suck up your bandwidth by building pages that use images hosted on your site. Anytime a request for an image on your site hits Cloudflare, we check to ensure that it's not another site requesting them. People will still be able to download and view images from your page, but other sites won't be able to steal them for use on their own pages. (https://support.cloudflare.com/hc/en-us/articles/200170026). - `ID HotlinkProtectionID` ID of the zone setting. - `const HotlinkProtectionIDHotlinkProtection HotlinkProtectionID = "hotlink_protection"` - `Value HotlinkProtectionValue` Current value of the zone setting. - `const HotlinkProtectionValueOn HotlinkProtectionValue = "on"` - `const HotlinkProtectionValueOff HotlinkProtectionValue = "off"` - `Editable HotlinkProtectionEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const HotlinkProtectionEditableTrue HotlinkProtectionEditable = true` - `const HotlinkProtectionEditableFalse HotlinkProtectionEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type HTTP2 struct{…}` HTTP2 enabled for this zone. - `ID HTTP2ID` ID of the zone setting. - `const HTTP2IDHTTP2 HTTP2ID = "http2"` - `Value HTTP2Value` Current value of the zone setting. - `const HTTP2ValueOn HTTP2Value = "on"` - `const HTTP2ValueOff HTTP2Value = "off"` - `Editable HTTP2Editable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const HTTP2EditableTrue HTTP2Editable = true` - `const HTTP2EditableFalse HTTP2Editable = false` - `ModifiedOn Time` last time this setting was modified. - `type HTTP3 struct{…}` HTTP3 enabled for this zone. - `ID HTTP3ID` ID of the zone setting. - `const HTTP3IDHTTP3 HTTP3ID = "http3"` - `Value HTTP3Value` Current value of the zone setting. - `const HTTP3ValueOn HTTP3Value = "on"` - `const HTTP3ValueOff HTTP3Value = "off"` - `Editable HTTP3Editable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const HTTP3EditableTrue HTTP3Editable = true` - `const HTTP3EditableFalse HTTP3Editable = false` - `ModifiedOn Time` last time this setting was modified. - `type ImageResizing struct{…}` Image Transformations provides on-demand resizing, conversion and optimization for images served through Cloudflare's network. Refer to the [Image Transformations documentation](https://developers.cloudflare.com/images/) for more information. - `ID ImageResizingID` ID of the zone setting. - `const ImageResizingIDImageResizing ImageResizingID = "image_resizing"` - `Value ImageResizingValue` Current value of the zone setting. - `const ImageResizingValueOn ImageResizingValue = "on"` - `const ImageResizingValueOff ImageResizingValue = "off"` - `const ImageResizingValueOpen ImageResizingValue = "open"` - `Editable ImageResizingEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const ImageResizingEditableTrue ImageResizingEditable = true` - `const ImageResizingEditableFalse ImageResizingEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasIPGeolocation struct{…}` Enable IP Geolocation to have Cloudflare geolocate visitors to your website and pass the country code to you. (https://support.cloudflare.com/hc/en-us/articles/200168236). - `ID SettingEditResponseZonesSchemasIPGeolocationID` ID of the zone setting. - `const SettingEditResponseZonesSchemasIPGeolocationIDIPGeolocation SettingEditResponseZonesSchemasIPGeolocationID = "ip_geolocation"` - `Value SettingEditResponseZonesSchemasIPGeolocationValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasIPGeolocationValueOn SettingEditResponseZonesSchemasIPGeolocationValue = "on"` - `const SettingEditResponseZonesSchemasIPGeolocationValueOff SettingEditResponseZonesSchemasIPGeolocationValue = "off"` - `Editable SettingEditResponseZonesSchemasIPGeolocationEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasIPGeolocationEditableTrue SettingEditResponseZonesSchemasIPGeolocationEditable = true` - `const SettingEditResponseZonesSchemasIPGeolocationEditableFalse SettingEditResponseZonesSchemasIPGeolocationEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type IPV6 struct{…}` Enable IPv6 on all subdomains that are Cloudflare enabled. (https://support.cloudflare.com/hc/en-us/articles/200168586). - `ID IPV6ID` ID of the zone setting. - `const IPV6IDIPV6 IPV6ID = "ipv6"` - `Value IPV6Value` Current value of the zone setting. - `const IPV6ValueOff IPV6Value = "off"` - `const IPV6ValueOn IPV6Value = "on"` - `Editable IPV6Editable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const IPV6EditableTrue IPV6Editable = true` - `const IPV6EditableFalse IPV6Editable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesMaxUpload struct{…}` Maximum size of an allowable upload. - `ID SettingEditResponseZonesMaxUploadID` identifier of the zone setting. - `const SettingEditResponseZonesMaxUploadIDMaxUpload SettingEditResponseZonesMaxUploadID = "max_upload"` - `Value SettingEditResponseZonesMaxUploadValue` Current value of the zone setting. - `const SettingEditResponseZonesMaxUploadValue100 SettingEditResponseZonesMaxUploadValue = 100` - `const SettingEditResponseZonesMaxUploadValue125 SettingEditResponseZonesMaxUploadValue = 125` - `const SettingEditResponseZonesMaxUploadValue150 SettingEditResponseZonesMaxUploadValue = 150` - `const SettingEditResponseZonesMaxUploadValue175 SettingEditResponseZonesMaxUploadValue = 175` - `const SettingEditResponseZonesMaxUploadValue200 SettingEditResponseZonesMaxUploadValue = 200` - `const SettingEditResponseZonesMaxUploadValue225 SettingEditResponseZonesMaxUploadValue = 225` - `const SettingEditResponseZonesMaxUploadValue250 SettingEditResponseZonesMaxUploadValue = 250` - `const SettingEditResponseZonesMaxUploadValue275 SettingEditResponseZonesMaxUploadValue = 275` - `const SettingEditResponseZonesMaxUploadValue300 SettingEditResponseZonesMaxUploadValue = 300` - `const SettingEditResponseZonesMaxUploadValue325 SettingEditResponseZonesMaxUploadValue = 325` - `const SettingEditResponseZonesMaxUploadValue350 SettingEditResponseZonesMaxUploadValue = 350` - `const SettingEditResponseZonesMaxUploadValue375 SettingEditResponseZonesMaxUploadValue = 375` - `const SettingEditResponseZonesMaxUploadValue400 SettingEditResponseZonesMaxUploadValue = 400` - `const SettingEditResponseZonesMaxUploadValue425 SettingEditResponseZonesMaxUploadValue = 425` - `const SettingEditResponseZonesMaxUploadValue450 SettingEditResponseZonesMaxUploadValue = 450` - `const SettingEditResponseZonesMaxUploadValue475 SettingEditResponseZonesMaxUploadValue = 475` - `const SettingEditResponseZonesMaxUploadValue500 SettingEditResponseZonesMaxUploadValue = 500` - `const SettingEditResponseZonesMaxUploadValue1000 SettingEditResponseZonesMaxUploadValue = 1000` - `Editable SettingEditResponseZonesMaxUploadEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesMaxUploadEditableTrue SettingEditResponseZonesMaxUploadEditable = true` - `const SettingEditResponseZonesMaxUploadEditableFalse SettingEditResponseZonesMaxUploadEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type MinTLSVersion struct{…}` Only accepts HTTPS requests that use at least the TLS protocol version specified. For example, if TLS 1.1 is selected, TLS 1.0 connections will be rejected, while 1.1, 1.2, and 1.3 (if enabled) will be permitted. - `ID MinTLSVersionID` ID of the zone setting. - `const MinTLSVersionIDMinTLSVersion MinTLSVersionID = "min_tls_version"` - `Value MinTLSVersionValue` Current value of the zone setting. - `const MinTLSVersionValue1_0 MinTLSVersionValue = "1.0"` - `const MinTLSVersionValue1_1 MinTLSVersionValue = "1.1"` - `const MinTLSVersionValue1_2 MinTLSVersionValue = "1.2"` - `const MinTLSVersionValue1_3 MinTLSVersionValue = "1.3"` - `Editable MinTLSVersionEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const MinTLSVersionEditableTrue MinTLSVersionEditable = true` - `const MinTLSVersionEditableFalse MinTLSVersionEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasMirage struct{…}` Automatically optimize image loading for website visitors on mobile devices. Refer to [our blog post](http://blog.cloudflare.com/mirage2-solving-mobile-speed) for more information. - `ID SettingEditResponseZonesSchemasMirageID` ID of the zone setting. - `const SettingEditResponseZonesSchemasMirageIDMirage SettingEditResponseZonesSchemasMirageID = "mirage"` - `Value SettingEditResponseZonesSchemasMirageValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasMirageValueOn SettingEditResponseZonesSchemasMirageValue = "on"` - `const SettingEditResponseZonesSchemasMirageValueOff SettingEditResponseZonesSchemasMirageValue = "off"` - `Editable SettingEditResponseZonesSchemasMirageEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasMirageEditableTrue SettingEditResponseZonesSchemasMirageEditable = true` - `const SettingEditResponseZonesSchemasMirageEditableFalse SettingEditResponseZonesSchemasMirageEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type NEL struct{…}` Enable Network Error Logging reporting on your zone. (Beta) - `ID NELID` Zone setting identifier. - `const NELIDNEL NELID = "nel"` - `Value NELValue` Current value of the zone setting. - `Enabled bool` - `Editable NELEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const NELEditableTrue NELEditable = true` - `const NELEditableFalse NELEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasOpportunisticEncryption struct{…}` Enables the Opportunistic Encryption feature for a zone. - `ID SettingEditResponseZonesSchemasOpportunisticEncryptionID` ID of the zone setting. - `const SettingEditResponseZonesSchemasOpportunisticEncryptionIDOpportunisticEncryption SettingEditResponseZonesSchemasOpportunisticEncryptionID = "opportunistic_encryption"` - `Value SettingEditResponseZonesSchemasOpportunisticEncryptionValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasOpportunisticEncryptionValueOn SettingEditResponseZonesSchemasOpportunisticEncryptionValue = "on"` - `const SettingEditResponseZonesSchemasOpportunisticEncryptionValueOff SettingEditResponseZonesSchemasOpportunisticEncryptionValue = "off"` - `Editable SettingEditResponseZonesSchemasOpportunisticEncryptionEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasOpportunisticEncryptionEditableTrue SettingEditResponseZonesSchemasOpportunisticEncryptionEditable = true` - `const SettingEditResponseZonesSchemasOpportunisticEncryptionEditableFalse SettingEditResponseZonesSchemasOpportunisticEncryptionEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type OpportunisticOnion struct{…}` Add an Alt-Svc header to all legitimate requests from Tor, allowing the connection to use our onion services instead of exit nodes. - `ID OpportunisticOnionID` ID of the zone setting. - `const OpportunisticOnionIDOpportunisticOnion OpportunisticOnionID = "opportunistic_onion"` - `Value OpportunisticOnionValue` Current value of the zone setting. - `const OpportunisticOnionValueOn OpportunisticOnionValue = "on"` - `const OpportunisticOnionValueOff OpportunisticOnionValue = "off"` - `Editable OpportunisticOnionEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const OpportunisticOnionEditableTrue OpportunisticOnionEditable = true` - `const OpportunisticOnionEditableFalse OpportunisticOnionEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type OrangeToOrange struct{…}` Orange to Orange (O2O) allows zones on Cloudflare to CNAME to other zones also on Cloudflare. - `ID OrangeToOrangeID` ID of the zone setting. - `const OrangeToOrangeIDOrangeToOrange OrangeToOrangeID = "orange_to_orange"` - `Value OrangeToOrangeValue` Current value of the zone setting. - `const OrangeToOrangeValueOn OrangeToOrangeValue = "on"` - `const OrangeToOrangeValueOff OrangeToOrangeValue = "off"` - `Editable OrangeToOrangeEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const OrangeToOrangeEditableTrue OrangeToOrangeEditable = true` - `const OrangeToOrangeEditableFalse OrangeToOrangeEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasOriginErrorPagePassThru struct{…}` Cloudflare will proxy customer error pages on any 502,504 errors on origin server instead of showing a default Cloudflare error page. This does not apply to 522 errors and is limited to Enterprise Zones. - `ID SettingEditResponseZonesSchemasOriginErrorPagePassThruID` ID of the zone setting. - `const SettingEditResponseZonesSchemasOriginErrorPagePassThruIDOriginErrorPagePassThru SettingEditResponseZonesSchemasOriginErrorPagePassThruID = "origin_error_page_pass_thru"` - `Value SettingEditResponseZonesSchemasOriginErrorPagePassThruValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasOriginErrorPagePassThruValueOn SettingEditResponseZonesSchemasOriginErrorPagePassThruValue = "on"` - `const SettingEditResponseZonesSchemasOriginErrorPagePassThruValueOff SettingEditResponseZonesSchemasOriginErrorPagePassThruValue = "off"` - `Editable SettingEditResponseZonesSchemasOriginErrorPagePassThruEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasOriginErrorPagePassThruEditableTrue SettingEditResponseZonesSchemasOriginErrorPagePassThruEditable = true` - `const SettingEditResponseZonesSchemasOriginErrorPagePassThruEditableFalse SettingEditResponseZonesSchemasOriginErrorPagePassThruEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesCacheRulesOriginH2MaxStreams struct{…}` Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled. - `ID SettingEditResponseZonesCacheRulesOriginH2MaxStreamsID` Value of the zone setting. - `const SettingEditResponseZonesCacheRulesOriginH2MaxStreamsIDOriginH2MaxStreams SettingEditResponseZonesCacheRulesOriginH2MaxStreamsID = "origin_h2_max_streams"` - `ModifiedOn Time` Last time this setting was modified. - `Value int64` Value of the Origin H2 Max Streams Setting. - `type SettingEditResponseZonesCacheRulesOriginMaxHTTPVersion struct{…}` Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is "2" for all plan types except Enterprise where it is "1". - `ID SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionID` Value of the zone setting. - `const SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionIDOriginMaxHTTPVersion SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionID = "origin_max_http_version"` - `ModifiedOn Time` Last time this setting was modified. - `Value SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionValue` Value of the Origin Max HTTP Version Setting. - `const SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionValue2 SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionValue = "2"` - `const SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionValue1 SettingEditResponseZonesCacheRulesOriginMaxHTTPVersionValue = "1"` - `type SettingEditResponseZonesSchemasPolish struct{…}` Removes metadata and compresses your images for faster page load times. Basic (Lossless): Reduce the size of PNG, JPEG, and GIF files - no impact on visual quality. Basic + JPEG (Lossy): Further reduce the size of JPEG files for faster image loading. Larger JPEGs are converted to progressive images, loading a lower-resolution image first and ending in a higher-resolution version. Not recommended for hi-res photography sites. - `ID SettingEditResponseZonesSchemasPolishID` ID of the zone setting. - `const SettingEditResponseZonesSchemasPolishIDPolish SettingEditResponseZonesSchemasPolishID = "polish"` - `Value SettingEditResponseZonesSchemasPolishValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasPolishValueOff SettingEditResponseZonesSchemasPolishValue = "off"` - `const SettingEditResponseZonesSchemasPolishValueLossless SettingEditResponseZonesSchemasPolishValue = "lossless"` - `const SettingEditResponseZonesSchemasPolishValueLossy SettingEditResponseZonesSchemasPolishValue = "lossy"` - `Editable SettingEditResponseZonesSchemasPolishEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasPolishEditableTrue SettingEditResponseZonesSchemasPolishEditable = true` - `const SettingEditResponseZonesSchemasPolishEditableFalse SettingEditResponseZonesSchemasPolishEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type PrefetchPreload struct{…}` Cloudflare will prefetch any URLs that are included in the response headers. This is limited to Enterprise Zones. - `ID PrefetchPreloadID` ID of the zone setting. - `const PrefetchPreloadIDPrefetchPreload PrefetchPreloadID = "prefetch_preload"` - `Value PrefetchPreloadValue` Current value of the zone setting. - `const PrefetchPreloadValueOn PrefetchPreloadValue = "on"` - `const PrefetchPreloadValueOff PrefetchPreloadValue = "off"` - `Editable PrefetchPreloadEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const PrefetchPreloadEditableTrue PrefetchPreloadEditable = true` - `const PrefetchPreloadEditableFalse PrefetchPreloadEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesPrivacyPass struct{…}` Privacy Pass v1 was a browser extension developed by the Privacy Pass Team to improve the browsing experience for your visitors by allowing users to reduce the number of CAPTCHAs shown. (https://support.cloudflare.com/hc/en-us/articles/115001992652-Privacy-Pass). - `ID SettingEditResponseZonesPrivacyPassID` ID of the zone setting. - `const SettingEditResponseZonesPrivacyPassIDPrivacyPass SettingEditResponseZonesPrivacyPassID = "privacy_pass"` - `Value SettingEditResponseZonesPrivacyPassValue` Current value of the zone setting. - `const SettingEditResponseZonesPrivacyPassValueOn SettingEditResponseZonesPrivacyPassValue = "on"` - `const SettingEditResponseZonesPrivacyPassValueOff SettingEditResponseZonesPrivacyPassValue = "off"` - `Editable SettingEditResponseZonesPrivacyPassEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesPrivacyPassEditableTrue SettingEditResponseZonesPrivacyPassEditable = true` - `const SettingEditResponseZonesPrivacyPassEditableFalse SettingEditResponseZonesPrivacyPassEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type ProxyReadTimeout struct{…}` Maximum time between two read operations from origin. - `ID ProxyReadTimeoutID` ID of the zone setting. - `const ProxyReadTimeoutIDProxyReadTimeout ProxyReadTimeoutID = "proxy_read_timeout"` - `Value float64` Current value of the zone setting. - `Editable ProxyReadTimeoutEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const ProxyReadTimeoutEditableTrue ProxyReadTimeoutEditable = true` - `const ProxyReadTimeoutEditableFalse ProxyReadTimeoutEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type PseudoIPV4 struct{…}` The value set for the Pseudo IPv4 setting. - `ID PseudoIPV4ID` Value of the Pseudo IPv4 setting. - `const PseudoIPV4IDPseudoIPV4 PseudoIPV4ID = "pseudo_ipv4"` - `Value PseudoIPV4Value` Current value of the zone setting. - `const PseudoIPV4ValueOff PseudoIPV4Value = "off"` - `const PseudoIPV4ValueAddHeader PseudoIPV4Value = "add_header"` - `const PseudoIPV4ValueOverwriteHeader PseudoIPV4Value = "overwrite_header"` - `Editable PseudoIPV4Editable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const PseudoIPV4EditableTrue PseudoIPV4Editable = true` - `const PseudoIPV4EditableFalse PseudoIPV4Editable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesRedirectsForAITraining struct{…}` When enabled, Cloudflare will redirect verified AI training crawlers to canonical URLs found in the HTML response, ensuring AI models train on authoritative content. - `ID SettingEditResponseZonesRedirectsForAITrainingID` ID of the zone setting. - `const SettingEditResponseZonesRedirectsForAITrainingIDRedirectsForAITraining SettingEditResponseZonesRedirectsForAITrainingID = "redirects_for_ai_training"` - `Value SettingEditResponseZonesRedirectsForAITrainingValue` Current value of the zone setting. - `const SettingEditResponseZonesRedirectsForAITrainingValueOff SettingEditResponseZonesRedirectsForAITrainingValue = "off"` - `const SettingEditResponseZonesRedirectsForAITrainingValueOn SettingEditResponseZonesRedirectsForAITrainingValue = "on"` - `Editable SettingEditResponseZonesRedirectsForAITrainingEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesRedirectsForAITrainingEditableTrue SettingEditResponseZonesRedirectsForAITrainingEditable = true` - `const SettingEditResponseZonesRedirectsForAITrainingEditableFalse SettingEditResponseZonesRedirectsForAITrainingEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesReplaceInsecureJS struct{…}` Automatically replace insecure JavaScript libraries with safer and faster alternatives provided under cdnjs and powered by Cloudflare. Currently supports the following libraries: Polyfill under polyfill.io. - `ID SettingEditResponseZonesReplaceInsecureJSID` ID of the zone setting. - `const SettingEditResponseZonesReplaceInsecureJSIDReplaceInsecureJS SettingEditResponseZonesReplaceInsecureJSID = "replace_insecure_js"` - `Value SettingEditResponseZonesReplaceInsecureJSValue` Current value of the zone setting. - `const SettingEditResponseZonesReplaceInsecureJSValueOn SettingEditResponseZonesReplaceInsecureJSValue = "on"` - `const SettingEditResponseZonesReplaceInsecureJSValueOff SettingEditResponseZonesReplaceInsecureJSValue = "off"` - `Editable SettingEditResponseZonesReplaceInsecureJSEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesReplaceInsecureJSEditableTrue SettingEditResponseZonesReplaceInsecureJSEditable = true` - `const SettingEditResponseZonesReplaceInsecureJSEditableFalse SettingEditResponseZonesReplaceInsecureJSEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasResponseBuffering struct{…}` Enables or disables buffering of responses from the proxied server. Cloudflare may buffer the whole payload to deliver it at once to the client versus allowing it to be delivered in chunks. By default, the proxied server streams directly and is not buffered by Cloudflare. This is limited to Enterprise Zones. - `ID SettingEditResponseZonesSchemasResponseBufferingID` ID of the zone setting. - `const SettingEditResponseZonesSchemasResponseBufferingIDResponseBuffering SettingEditResponseZonesSchemasResponseBufferingID = "response_buffering"` - `Value SettingEditResponseZonesSchemasResponseBufferingValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasResponseBufferingValueOn SettingEditResponseZonesSchemasResponseBufferingValue = "on"` - `const SettingEditResponseZonesSchemasResponseBufferingValueOff SettingEditResponseZonesSchemasResponseBufferingValue = "off"` - `Editable SettingEditResponseZonesSchemasResponseBufferingEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasResponseBufferingEditableTrue SettingEditResponseZonesSchemasResponseBufferingEditable = true` - `const SettingEditResponseZonesSchemasResponseBufferingEditableFalse SettingEditResponseZonesSchemasResponseBufferingEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasRocketLoader struct{…}` Rocket Loader is a general-purpose asynchronous JavaScript optimisation that prioritises rendering your content while loading your site's Javascript asynchronously. Turning on Rocket Loader will immediately improve a web page's rendering time sometimes measured as Time to First Paint (TTFP), and also the `window.onload` time (assuming there is JavaScript on the page). This can have a positive impact on your Google search ranking. When turned on, Rocket Loader will automatically defer the loading of all Javascript referenced in your HTML, with no configuration required. Refer to [Understanding Rocket Loader](https://support.cloudflare.com/hc/articles/200168056) for more information. - `ID SettingEditResponseZonesSchemasRocketLoaderID` ID of the zone setting. - `const SettingEditResponseZonesSchemasRocketLoaderIDRocketLoader SettingEditResponseZonesSchemasRocketLoaderID = "rocket_loader"` - `Value SettingEditResponseZonesSchemasRocketLoaderValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasRocketLoaderValueOn SettingEditResponseZonesSchemasRocketLoaderValue = "on"` - `const SettingEditResponseZonesSchemasRocketLoaderValueOff SettingEditResponseZonesSchemasRocketLoaderValue = "off"` - `Editable SettingEditResponseZonesSchemasRocketLoaderEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasRocketLoaderEditableTrue SettingEditResponseZonesSchemasRocketLoaderEditable = true` - `const SettingEditResponseZonesSchemasRocketLoaderEditableFalse SettingEditResponseZonesSchemasRocketLoaderEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasAutomaticPlatformOptimization struct{…}` [Automatic Platform Optimization for WordPress](https://developers.cloudflare.com/automatic-platform-optimization/) serves your WordPress site from Cloudflare's edge network and caches third-party fonts. - `ID SettingEditResponseZonesSchemasAutomaticPlatformOptimizationID` ID of the zone setting. - `const SettingEditResponseZonesSchemasAutomaticPlatformOptimizationIDAutomaticPlatformOptimization SettingEditResponseZonesSchemasAutomaticPlatformOptimizationID = "automatic_platform_optimization"` - `Value AutomaticPlatformOptimization` Current value of the zone setting. - `CacheByDeviceType bool` Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. - `Cf bool` Indicates whether or not Cloudflare proxy is enabled. - `Enabled bool` Indicates whether or not Automatic Platform Optimization is enabled. - `Hostnames []string` An array of hostnames where Automatic Platform Optimization for WordPress is activated. - `Wordpress bool` Indicates whether or not site is powered by WordPress. - `WpPlugin bool` Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. - `Editable SettingEditResponseZonesSchemasAutomaticPlatformOptimizationEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasAutomaticPlatformOptimizationEditableTrue SettingEditResponseZonesSchemasAutomaticPlatformOptimizationEditable = true` - `const SettingEditResponseZonesSchemasAutomaticPlatformOptimizationEditableFalse SettingEditResponseZonesSchemasAutomaticPlatformOptimizationEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SecurityHeaders struct{…}` Cloudflare security header for a zone. - `ID SecurityHeadersID` ID of the zone's security header. - `const SecurityHeadersIDSecurityHeader SecurityHeadersID = "security_header"` - `Value SecurityHeadersValue` Current value of the zone setting. - `StrictTransportSecurity SecurityHeadersValueStrictTransportSecurity` Strict Transport Security. - `Enabled bool` Whether or not strict transport security is enabled. - `IncludeSubdomains bool` Include all subdomains for strict transport security. - `MaxAge float64` Max age in seconds of the strict transport security. - `Nosniff bool` Whether or not to include 'X-Content-Type-Options: nosniff' header. - `Preload bool` Enable automatic preload of the HSTS configuration. - `Editable SecurityHeadersEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SecurityHeadersEditableTrue SecurityHeadersEditable = true` - `const SecurityHeadersEditableFalse SecurityHeadersEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasSecurityLevel struct{…}` Choose the appropriate security profile for your website, which will automatically adjust each of the security settings. If you choose to customize an individual security setting, the profile will become Custom. (https://support.cloudflare.com/hc/en-us/articles/200170056). - `ID SettingEditResponseZonesSchemasSecurityLevelID` ID of the zone setting. - `const SettingEditResponseZonesSchemasSecurityLevelIDSecurityLevel SettingEditResponseZonesSchemasSecurityLevelID = "security_level"` - `Value SettingEditResponseZonesSchemasSecurityLevelValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasSecurityLevelValueOff SettingEditResponseZonesSchemasSecurityLevelValue = "off"` - `const SettingEditResponseZonesSchemasSecurityLevelValueEssentiallyOff SettingEditResponseZonesSchemasSecurityLevelValue = "essentially_off"` - `const SettingEditResponseZonesSchemasSecurityLevelValueLow SettingEditResponseZonesSchemasSecurityLevelValue = "low"` - `const SettingEditResponseZonesSchemasSecurityLevelValueMedium SettingEditResponseZonesSchemasSecurityLevelValue = "medium"` - `const SettingEditResponseZonesSchemasSecurityLevelValueHigh SettingEditResponseZonesSchemasSecurityLevelValue = "high"` - `const SettingEditResponseZonesSchemasSecurityLevelValueUnderAttack SettingEditResponseZonesSchemasSecurityLevelValue = "under_attack"` - `Editable SettingEditResponseZonesSchemasSecurityLevelEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasSecurityLevelEditableTrue SettingEditResponseZonesSchemasSecurityLevelEditable = true` - `const SettingEditResponseZonesSchemasSecurityLevelEditableFalse SettingEditResponseZonesSchemasSecurityLevelEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type ServerSideExcludes struct{…}` If there is sensitive content on your website that you want visible to real visitors, but that you want to hide from suspicious visitors, all you have to do is wrap the content with Cloudflare SSE tags. Wrap any content that you want to be excluded from suspicious visitors in the following SSE tags: . For example: Bad visitors won't see my phone number, 555-555-5555 . Note: SSE only will work with HTML. If you have HTML minification enabled, you won't see the SSE tags in your HTML source when it's served through Cloudflare. SSE will still function in this case, as Cloudflare's HTML minification and SSE functionality occur on-the-fly as the resource moves through our network to the visitor's computer. (https://support.cloudflare.com/hc/en-us/articles/200170036). - `ID ServerSideExcludesID` ID of the zone setting. - `const ServerSideExcludesIDServerSideExclude ServerSideExcludesID = "server_side_exclude"` - `Value ServerSideExcludesValue` Current value of the zone setting. - `const ServerSideExcludesValueOn ServerSideExcludesValue = "on"` - `const ServerSideExcludesValueOff ServerSideExcludesValue = "off"` - `Editable ServerSideExcludesEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const ServerSideExcludesEditableTrue ServerSideExcludesEditable = true` - `const ServerSideExcludesEditableFalse ServerSideExcludesEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSha1Support struct{…}` Allow SHA1 support. - `ID SettingEditResponseZonesSha1SupportID` Zone setting identifier. - `const SettingEditResponseZonesSha1SupportIDSha1Support SettingEditResponseZonesSha1SupportID = "sha1_support"` - `Value SettingEditResponseZonesSha1SupportValue` Current value of the zone setting. - `const SettingEditResponseZonesSha1SupportValueOff SettingEditResponseZonesSha1SupportValue = "off"` - `const SettingEditResponseZonesSha1SupportValueOn SettingEditResponseZonesSha1SupportValue = "on"` - `Editable SettingEditResponseZonesSha1SupportEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSha1SupportEditableTrue SettingEditResponseZonesSha1SupportEditable = true` - `const SettingEditResponseZonesSha1SupportEditableFalse SettingEditResponseZonesSha1SupportEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasSortQueryStringForCache struct{…}` Cloudflare will treat files with the same query strings as the same file in cache, regardless of the order of the query strings. This is limited to Enterprise Zones. - `ID SettingEditResponseZonesSchemasSortQueryStringForCacheID` ID of the zone setting. - `const SettingEditResponseZonesSchemasSortQueryStringForCacheIDSortQueryStringForCache SettingEditResponseZonesSchemasSortQueryStringForCacheID = "sort_query_string_for_cache"` - `Value SettingEditResponseZonesSchemasSortQueryStringForCacheValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasSortQueryStringForCacheValueOn SettingEditResponseZonesSchemasSortQueryStringForCacheValue = "on"` - `const SettingEditResponseZonesSchemasSortQueryStringForCacheValueOff SettingEditResponseZonesSchemasSortQueryStringForCacheValue = "off"` - `Editable SettingEditResponseZonesSchemasSortQueryStringForCacheEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasSortQueryStringForCacheEditableTrue SettingEditResponseZonesSchemasSortQueryStringForCacheEditable = true` - `const SettingEditResponseZonesSchemasSortQueryStringForCacheEditableFalse SettingEditResponseZonesSchemasSortQueryStringForCacheEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasSSL struct{…}` SSL encrypts your visitor's connection and safeguards credit card numbers and other personal data to and from your website. SSL can take up to 5 minutes to fully activate. Requires Cloudflare active on your root domain or www domain. Off: no SSL between the visitor and Cloudflare, and no SSL between Cloudflare and your web server (all HTTP traffic). Flexible: SSL between the visitor and Cloudflare -- visitor sees HTTPS on your site, but no SSL between Cloudflare and your web server. You don't need to have an SSL cert on your web server, but your vistors will still see the site as being HTTPS enabled. Full: SSL between the visitor and Cloudflare -- visitor sees HTTPS on your site, and SSL between Cloudflare and your web server. You'll need to have your own SSL cert or self-signed cert at the very least. Full (Strict): SSL between the visitor and Cloudflare -- visitor sees HTTPS on your site, and SSL between Cloudflare and your web server. You'll need to have a valid SSL certificate installed on your web server. This certificate must be signed by a certificate authority, have an expiration date in the future, and respond for the request domain name (hostname). (https://support.cloudflare.com/hc/en-us/articles/200170416). - `ID SettingEditResponseZonesSchemasSSLID` ID of the zone setting. - `const SettingEditResponseZonesSchemasSSLIDSSL SettingEditResponseZonesSchemasSSLID = "ssl"` - `Value SettingEditResponseZonesSchemasSSLValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasSSLValueOff SettingEditResponseZonesSchemasSSLValue = "off"` - `const SettingEditResponseZonesSchemasSSLValueFlexible SettingEditResponseZonesSchemasSSLValue = "flexible"` - `const SettingEditResponseZonesSchemasSSLValueFull SettingEditResponseZonesSchemasSSLValue = "full"` - `const SettingEditResponseZonesSchemasSSLValueStrict SettingEditResponseZonesSchemasSSLValue = "strict"` - `Editable SettingEditResponseZonesSchemasSSLEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasSSLEditableTrue SettingEditResponseZonesSchemasSSLEditable = true` - `const SettingEditResponseZonesSchemasSSLEditableFalse SettingEditResponseZonesSchemasSSLEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SSLRecommender struct{…}` Enrollment in the SSL/TLS Recommender service which tries to detect and recommend (by sending periodic emails) the most secure SSL/TLS setting your origin servers support. - `ID SSLRecommenderID` Enrollment value for SSL/TLS Recommender. - `const SSLRecommenderIDSSLRecommender SSLRecommenderID = "ssl_recommender"` - `Enabled bool` ssl-recommender enrollment setting. - `type SettingEditResponseZonesTLS1_2Only struct{…}` Only allows TLS1.2. - `ID SettingEditResponseZonesTLS1_2OnlyID` Zone setting identifier. - `const SettingEditResponseZonesTLS1_2OnlyIDTLS1_2Only SettingEditResponseZonesTLS1_2OnlyID = "tls_1_2_only"` - `Value SettingEditResponseZonesTLS1_2OnlyValue` Current value of the zone setting. - `const SettingEditResponseZonesTLS1_2OnlyValueOff SettingEditResponseZonesTLS1_2OnlyValue = "off"` - `const SettingEditResponseZonesTLS1_2OnlyValueOn SettingEditResponseZonesTLS1_2OnlyValue = "on"` - `Editable SettingEditResponseZonesTLS1_2OnlyEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesTLS1_2OnlyEditableTrue SettingEditResponseZonesTLS1_2OnlyEditable = true` - `const SettingEditResponseZonesTLS1_2OnlyEditableFalse SettingEditResponseZonesTLS1_2OnlyEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type TLS1_3 struct{…}` Enables Crypto TLS 1.3 feature for a zone. - `ID TLS1_3ID` ID of the zone setting. - `const TLS1_3IDTLS1_3 TLS1_3ID = "tls_1_3"` - `Value TLS1_3Value` Current value of the zone setting. - `const TLS1_3ValueOn TLS1_3Value = "on"` - `const TLS1_3ValueOff TLS1_3Value = "off"` - `const TLS1_3ValueZrt TLS1_3Value = "zrt"` - `Editable TLS1_3Editable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const TLS1_3EditableTrue TLS1_3Editable = true` - `const TLS1_3EditableFalse TLS1_3Editable = false` - `ModifiedOn Time` last time this setting was modified. - `type TLSClientAuth struct{…}` TLS Client Auth requires Cloudflare to connect to your origin server using a client certificate (Enterprise Only). - `ID TLSClientAuthID` ID of the zone setting. - `const TLSClientAuthIDTLSClientAuth TLSClientAuthID = "tls_client_auth"` - `Value TLSClientAuthValue` Current value of the zone setting. - `const TLSClientAuthValueOn TLSClientAuthValue = "on"` - `const TLSClientAuthValueOff TLSClientAuthValue = "off"` - `Editable TLSClientAuthEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const TLSClientAuthEditableTrue TLSClientAuthEditable = true` - `const TLSClientAuthEditableFalse TLSClientAuthEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesTransformations struct{…}` Media Transformations provides on-demand resizing, conversion and optimization for images and video served through Cloudflare's network. Refer to the [Image Transformations](https://developers.cloudflare.com/images/) and [Video Transformations](https://developers.cloudflare.com/stream/transform-videos/#getting-started) documentation for more information. - `ID SettingEditResponseZonesTransformationsID` ID of the zone setting. Shared between Image Transformations and Video Transformations. - `const SettingEditResponseZonesTransformationsIDTransformations SettingEditResponseZonesTransformationsID = "transformations"` - `Value SettingEditResponseZonesTransformationsValue` Current value of the zone setting. - `const SettingEditResponseZonesTransformationsValueOn SettingEditResponseZonesTransformationsValue = "on"` - `const SettingEditResponseZonesTransformationsValueOff SettingEditResponseZonesTransformationsValue = "off"` - `const SettingEditResponseZonesTransformationsValueOpen SettingEditResponseZonesTransformationsValue = "open"` - `Editable SettingEditResponseZonesTransformationsEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesTransformationsEditableTrue SettingEditResponseZonesTransformationsEditable = true` - `const SettingEditResponseZonesTransformationsEditableFalse SettingEditResponseZonesTransformationsEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesTransformationsAllowedOrigins struct{…}` Media Transformations Allowed Origins restricts transformations for images and video served through Cloudflare's network. Refer to the [Image Transformations](https://developers.cloudflare.com/images/) and [Video Transformations](https://developers.cloudflare.com/stream/transform-videos/#getting-started) documentation for more information. - `ID SettingEditResponseZonesTransformationsAllowedOriginsID` ID of the zone setting. Shared between Image Transformations and Video Transformations. - `const SettingEditResponseZonesTransformationsAllowedOriginsIDTransformationsAllowedOrigins SettingEditResponseZonesTransformationsAllowedOriginsID = "transformations_allowed_origins"` - `Value string` Current value of the zone setting. - `Editable SettingEditResponseZonesTransformationsAllowedOriginsEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesTransformationsAllowedOriginsEditableTrue SettingEditResponseZonesTransformationsAllowedOriginsEditable = true` - `const SettingEditResponseZonesTransformationsAllowedOriginsEditableFalse SettingEditResponseZonesTransformationsAllowedOriginsEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasTrueClientIPHeader struct{…}` Allows customer to continue to use True Client IP (Akamai feature) in the headers we send to the origin. This is limited to Enterprise Zones. - `ID SettingEditResponseZonesSchemasTrueClientIPHeaderID` ID of the zone setting. - `const SettingEditResponseZonesSchemasTrueClientIPHeaderIDTrueClientIPHeader SettingEditResponseZonesSchemasTrueClientIPHeaderID = "true_client_ip_header"` - `Value SettingEditResponseZonesSchemasTrueClientIPHeaderValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasTrueClientIPHeaderValueOn SettingEditResponseZonesSchemasTrueClientIPHeaderValue = "on"` - `const SettingEditResponseZonesSchemasTrueClientIPHeaderValueOff SettingEditResponseZonesSchemasTrueClientIPHeaderValue = "off"` - `Editable SettingEditResponseZonesSchemasTrueClientIPHeaderEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasTrueClientIPHeaderEditableTrue SettingEditResponseZonesSchemasTrueClientIPHeaderEditable = true` - `const SettingEditResponseZonesSchemasTrueClientIPHeaderEditableFalse SettingEditResponseZonesSchemasTrueClientIPHeaderEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type SettingEditResponseZonesSchemasWAF struct{…}` The WAF examines HTTP requests to your website. It inspects both GET and POST requests and applies rules to help filter out illegitimate traffic from legitimate website visitors. The Cloudflare WAF inspects website addresses or URLs to detect anything out of the ordinary. If the Cloudflare WAF determines suspicious user behavior, then the WAF will 'challenge' the web visitor with a page that asks them to submit a CAPTCHA successfully to continue their action. If the challenge is failed, the action will be stopped. What this means is that Cloudflare's WAF will block any traffic identified as illegitimate before it reaches your origin web server. (https://support.cloudflare.com/hc/en-us/articles/200172016). - `ID SettingEditResponseZonesSchemasWAFID` ID of the zone setting. - `const SettingEditResponseZonesSchemasWAFIDWAF SettingEditResponseZonesSchemasWAFID = "waf"` - `Value SettingEditResponseZonesSchemasWAFValue` Current value of the zone setting. - `const SettingEditResponseZonesSchemasWAFValueOn SettingEditResponseZonesSchemasWAFValue = "on"` - `const SettingEditResponseZonesSchemasWAFValueOff SettingEditResponseZonesSchemasWAFValue = "off"` - `Editable SettingEditResponseZonesSchemasWAFEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const SettingEditResponseZonesSchemasWAFEditableTrue SettingEditResponseZonesSchemasWAFEditable = true` - `const SettingEditResponseZonesSchemasWAFEditableFalse SettingEditResponseZonesSchemasWAFEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type WebP struct{…}` When the client requesting the image supports the WebP image codec, and WebP offers a performance advantage over the original image format, Cloudflare will serve a WebP version of the original image. - `ID WebPID` ID of the zone setting. - `const WebPIDWebP WebPID = "webp"` - `Value WebPValue` Current value of the zone setting. - `const WebPValueOff WebPValue = "off"` - `const WebPValueOn WebPValue = "on"` - `Editable WebPEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const WebPEditableTrue WebPEditable = true` - `const WebPEditableFalse WebPEditable = false` - `ModifiedOn Time` last time this setting was modified. - `type Websocket struct{…}` WebSockets are open connections sustained between the client and the origin server. Inside a WebSockets connection, the client and the origin can pass data back and forth without having to reestablish sessions. This makes exchanging data within a WebSockets connection fast. WebSockets are often used for real-time applications such as live chat and gaming. For more information refer to [Can I use Cloudflare with Websockets](https://support.cloudflare.com/hc/en-us/articles/200169466-Can-I-use-Cloudflare-with-WebSockets-). - `ID WebsocketID` ID of the zone setting. - `const WebsocketIDWebsockets WebsocketID = "websockets"` - `Value WebsocketValue` Current value of the zone setting. - `const WebsocketValueOff WebsocketValue = "off"` - `const WebsocketValueOn WebsocketValue = "on"` - `Editable WebsocketEditable` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `const WebsocketEditableTrue WebsocketEditable = true` - `const WebsocketEditableFalse WebsocketEditable = false` - `ModifiedOn Time` last time this setting was modified. ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/option" "github.com/cloudflare/cloudflare-go/zones" ) func main() { client := cloudflare.NewClient( option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"), ) response, err := client.Zones.Settings.Edit( context.TODO(), "always_online", zones.SettingEditParams{ ZoneID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), Body: zones.SettingEditParamsBodyEnabled{ }, }, ) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", response) } ``` #### 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" } } ], "success": true, "result": { "id": "0rtt", "value": "on", "editable": true, "modified_on": "2014-01-01T05:20:00.12345Z" } } ```