---
title: Patch Zero Trust account configuration
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api)

[Zero Trust](https://developers.cloudflare.com/api/resources/zero_trust)

[Gateway](https://developers.cloudflare.com/api/resources/zero_trust/subresources/gateway)

[Configurations](https://developers.cloudflare.com/api/resources/zero_trust/subresources/gateway/subresources/configurations)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Patch Zero Trust account configuration

PATCH/accounts/{account\_id}/gateway/configuration

Update (PATCH) a single subcollection of settings such as `antivirus`, `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`, `body_scanning`, `certificate`, or `max_ttl_secs` without updating the entire configuration object. This endpoint returns an error if any settings collection lacks proper configuration.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### P ath ParametersExpand Collapse

account\_id: string

Specify the Cloudflare account identifier.

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%20default%20%3E%20(param)%20account_id%20%3E%20(schema)>)

##### Body ParametersJSONExpand Collapse

<details>

<summary>

settings: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)">GatewayConfigurationSettings</a> { activity\_log, antivirus, block\_page, 12 more }

Specify account settings.

</summary>

<details>

<summary>

activity\_log: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20activity_log_settings%20%3E%20(schema)">ActivityLogSettings</a> { enabled }

Specify activity log settings.

</summary>

enabled: optional boolean

Specify whether to log activity.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20activity_log%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20activity_log_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20activity_log">Link to this property</a>

<details>

<summary>

antivirus: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)">AntiVirusSettings</a> { enabled\_download\_phase, enabled\_upload\_phase, fail\_closed, notification\_settings }

Specify anti-virus settings.

</summary>

enabled\_download\_phase: optional boolean

Specify whether to enable anti-virus scanning on downloads.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20enabled_download_phase">Link to this property</a>

enabled\_upload\_phase: optional boolean

Specify whether to enable anti-virus scanning on uploads.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20enabled_upload_phase">Link to this property</a>

fail\_closed: optional boolean

Specify whether to block requests for unscannable files.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20fail_closed">Link to this property</a>

<details>

<summary>

notification\_settings: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)">NotificationSettings</a> { enabled, include\_context, msg, support\_url }

Configure the message the user’s device shows during an antivirus scan.

</summary>

enabled: optional boolean

Specify whether to enable notifications.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

include\_context: optional boolean

Specify whether to include context information as query parameters.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20include_context">Link to this property</a>

msg: optional string

Specify the message to show in the notification.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20msg">Link to this property</a>

support\_url: optional string

Specify a URL that directs users to more information. If unset, the notification opens a block page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20support_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus">Link to this property</a>

<details>

<summary>

block\_page: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)">BlockPageSettings</a> { background\_color, enabled, footer\_text, 12 more }

Specify block page layout settings.

</summary>

background\_color: optional string

Specify the block page background color in <code>#rrggbb</code> format when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20background_color">Link to this property</a>

enabled: optional boolean

Specify whether to enable the custom block page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

footer\_text: optional string

Specify the block page footer text when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20footer_text">Link to this property</a>

header\_text: optional string

Specify the block page header text when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20header_text">Link to this property</a>

include\_context: optional boolean

Specify whether to append context to target\_uri as query parameters. This applies only when the mode is redirect\_uri.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20include_context">Link to this property</a>

logo\_path: optional string

Specify the full URL to the logo file when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20logo_path">Link to this property</a>

mailto\_address: optional string

Specify the admin email for users to contact when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mailto_address">Link to this property</a>

mailto\_subject: optional string

Specify the subject line for emails created from the block page when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mailto_subject">Link to this property</a>

<details>

<summary>

mode: optional ""or "customized\_block\_page"or "redirect\_uri"

Specify whether to redirect users to a Cloudflare-hosted block page or a customer-provided URI.

</summary>

One of the following:

""

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%200">Link to this property</a>

"customized\_block\_page"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%201">Link to this property</a>

"redirect\_uri"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode">Link to this property</a>

name: optional string

Specify the block page title when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

read\_only: optional boolean

Indicate that this setting was shared via the Orgs API and read only for the current account.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

source\_account: optional string

Indicate the account tag of the account that shared this setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20source_account">Link to this property</a>

suppress\_footer: optional boolean

Specify whether to suppress detailed information at the bottom of the block page when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20suppress_footer">Link to this property</a>

target\_uri: optional string

Specify the URI to redirect users to when the mode is redirect\_uri.

formaturi

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20target_uri">Link to this property</a>

version: optional number

Indicate the version number of the setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page">Link to this property</a>

<details>

<summary>

body\_scanning: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)">BodyScanningSettings</a> { inspection\_mode }

Specify the DLP inspection mode.

</summary>

<details>

<summary>

inspection\_mode: optional "deep"or "shallow"

Specify the inspection mode as either <code>deep</code> or <code>shallow</code>.

</summary>

One of the following:

"deep"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode%20%3E%20(member)%200">Link to this property</a>

"shallow"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning">Link to this property</a>

<details>

<summary>

browser\_isolation: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)">BrowserIsolationSettings</a> { non\_identity\_enabled, url\_browser\_isolation\_enabled }

Specify Clientless Browser Isolation settings.

</summary>

non\_identity\_enabled: optional boolean

Specify whether to enable non-identity onramp support for Browser Isolation.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)%20%3E%20(property)%20non_identity_enabled">Link to this property</a>

url\_browser\_isolation\_enabled: optional boolean

Specify whether to enable Clientless Browser Isolation.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)%20%3E%20(property)%20url_browser_isolation_enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation">Link to this property</a>

<details>

<summary>

certificate: optional object {id }

Specify certificate settings for Gateway TLS interception. If unset, the Cloudflare Root CA handles interception.

</summary>

id: string

Specify the UUID of the certificate used for interception. Ensure the certificate is available at the edge(previously called ‘active’). A nil UUID directs Cloudflare to use the Root CA.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20certificate%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

<details>

<summary>

Deprecatedcustom\_certificate: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)">CustomCertificateSettings</a> { enabled, id, binding\_status, updated\_at }

Specify custom certificate settings for BYO-PKI. This field is deprecated; use <code>certificate</code> instead.

</summary>

enabled: boolean

Specify whether to enable a custom certificate authority for signing Gateway traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

id: optional string

Specify the UUID of the certificate (ID from MTLS certificate store).

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

binding\_status: optional string

Indicate the internal certificate status.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20binding_status">Link to this property</a>

updated\_at: optional string

formatdate-time

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate">Link to this property</a>

<details>

<summary>

extended\_email\_matching: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)">ExtendedEmailMatching</a> { enabled, read\_only, source\_account, version }

Configures user email settings for firewall policies. When you enable this, the system standardizes email addresses in the identity portion of the rule to match extended email variants in firewall policies. When you disable this setting, the system matches email addresses exactly as you provide them. Enable this setting if your email uses <code>.</code> or <code>+</code> modifiers.

</summary>

enabled: optional boolean

Specify whether to match all variants of user emails (with + or . modifiers) used as criteria in Firewall policies.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

read\_only: optional boolean

Indicate that this setting was shared via the Orgs API and read only for the current account.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

source\_account: optional string

Indicate the account tag of the account that shared this setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20source_account">Link to this property</a>

version: optional number

Indicate the version number of the setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching">Link to this property</a>

<details>

<summary>

fips: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20fips_settings%20%3E%20(schema)">FipsSettings</a> { tls }

Specify FIPS settings.

</summary>

tls: optional boolean

Enforce cipher suites and TLS versions compliant with FIPS 140-2.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20fips%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20fips_settings%20%3E%20(schema)%20%3E%20(property)%20tls">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20fips">Link to this property</a>

<details>

<summary>

host\_selector: optional object {enabled }

Enable host selection in egress policies.

</summary>

enabled: optional boolean

Specify whether to enable filtering via hosts for egress policies.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20host_selector%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20host_selector">Link to this property</a>

<details>

<summary>

inspection: optional object {mode }

Define the proxy inspection mode.

</summary>

<details>

<summary>

mode: optional "static"or "dynamic"

Define the proxy inspection mode. 1. static: Gateway applies static inspection to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect HTTPS traffic.

</summary>

One of the following:

"static"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode%20%3E%20(member)%200">Link to this property</a>

"dynamic"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection">Link to this property</a>

max\_ttl\_secs: optional number

Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location <code>max_ttl</code> setting.

maximum36000

minimum60

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20max_ttl_secs">Link to this property</a>

<details>

<summary>

protocol\_detection: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20protocol_detection%20%3E%20(schema)">ProtocolDetection</a> { enabled }

Specify whether to detect protocols from the initial bytes of client traffic.

</summary>

enabled: optional boolean

Specify whether to detect protocols from the initial bytes of client traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20protocol_detection%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20protocol_detection%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20protocol_detection">Link to this property</a>

<details>

<summary>

sandbox: optional object {enabled, fallback\_action }

Specify whether to enable the sandbox.

</summary>

enabled: optional boolean

Specify whether to enable the sandbox.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

fallback\_action: optional "allow"or "block"

Specify the action to take when the system cannot scan the file.

</summary>

One of the following:

"allow"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action%20%3E%20(member)%200">Link to this property</a>

"block"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox">Link to this property</a>

<details>

<summary>

tls\_decrypt: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20tls_settings%20%3E%20(schema)">TLSSettings</a> { enabled }

Specify whether to inspect encrypted HTTP traffic.

</summary>

enabled: optional boolean

Specify whether to inspect encrypted HTTP traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20tls_decrypt%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20tls_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20tls_decrypt">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(params)%200%20%3E%20(param)%20settings%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

errors: array of <a href="https://developers.cloudflare.com/api/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a> { code, message, documentation\_url, source }

</summary>

code: number

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

message: string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

documentation\_url: optional string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

source: optional object {pointer }

</summary>

pointer: optional string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20errors>)

<details>

<summary>

messages: array of <a href="https://developers.cloudflare.com/api/resources/$shared#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)">ResponseInfo</a> { code, message, documentation\_url, source }

</summary>

code: number

minimum1000

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20code">Link to this property</a>

message: string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

documentation\_url: optional string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20documentation_url">Link to this property</a>

<details>

<summary>

source: optional object {pointer }

</summary>

pointer: optional string

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source%20%3E%20(property)%20pointer">Link to this property</a>

</details>

<a href="#(resource)%20%24shared%20%3E%20(model)%20response_info%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20messages>)

success: true

Indicate whether the API call was successful.

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20success>)

<details>

<summary>

result: optional object {created\_at, settings, updated\_at }

Specify account settings.

</summary>

created\_at: optional string

formatdate-time

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

settings: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)">GatewayConfigurationSettings</a> { activity\_log, antivirus, block\_page, 12 more }

Specify account settings.

</summary>

<details>

<summary>

activity\_log: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20activity_log_settings%20%3E%20(schema)">ActivityLogSettings</a> { enabled }

Specify activity log settings.

</summary>

enabled: optional boolean

Specify whether to log activity.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20activity_log%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20activity_log_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20activity_log">Link to this property</a>

<details>

<summary>

antivirus: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)">AntiVirusSettings</a> { enabled\_download\_phase, enabled\_upload\_phase, fail\_closed, notification\_settings }

Specify anti-virus settings.

</summary>

enabled\_download\_phase: optional boolean

Specify whether to enable anti-virus scanning on downloads.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20enabled_download_phase">Link to this property</a>

enabled\_upload\_phase: optional boolean

Specify whether to enable anti-virus scanning on uploads.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20enabled_upload_phase">Link to this property</a>

fail\_closed: optional boolean

Specify whether to block requests for unscannable files.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20fail_closed">Link to this property</a>

<details>

<summary>

notification\_settings: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)">NotificationSettings</a> { enabled, include\_context, msg, support\_url }

Configure the message the user’s device shows during an antivirus scan.

</summary>

enabled: optional boolean

Specify whether to enable notifications.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

include\_context: optional boolean

Specify whether to include context information as query parameters.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20include_context">Link to this property</a>

msg: optional string

Specify the message to show in the notification.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20msg">Link to this property</a>

support\_url: optional string

Specify a URL that directs users to more information. If unset, the notification opens a block page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20notification_settings%20%3E%20(schema)%20%3E%20(property)%20support_url">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20anti_virus_settings%20%3E%20(schema)%20%3E%20(property)%20notification_settings">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20antivirus">Link to this property</a>

<details>

<summary>

block\_page: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)">BlockPageSettings</a> { background\_color, enabled, footer\_text, 12 more }

Specify block page layout settings.

</summary>

background\_color: optional string

Specify the block page background color in <code>#rrggbb</code> format when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20background_color">Link to this property</a>

enabled: optional boolean

Specify whether to enable the custom block page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

footer\_text: optional string

Specify the block page footer text when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20footer_text">Link to this property</a>

header\_text: optional string

Specify the block page header text when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20header_text">Link to this property</a>

include\_context: optional boolean

Specify whether to append context to target\_uri as query parameters. This applies only when the mode is redirect\_uri.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20include_context">Link to this property</a>

logo\_path: optional string

Specify the full URL to the logo file when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20logo_path">Link to this property</a>

mailto\_address: optional string

Specify the admin email for users to contact when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mailto_address">Link to this property</a>

mailto\_subject: optional string

Specify the subject line for emails created from the block page when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mailto_subject">Link to this property</a>

<details>

<summary>

mode: optional ""or "customized\_block\_page"or "redirect\_uri"

Specify whether to redirect users to a Cloudflare-hosted block page or a customer-provided URI.

</summary>

One of the following:

""

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%200">Link to this property</a>

"customized\_block\_page"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%201">Link to this property</a>

"redirect\_uri"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20mode">Link to this property</a>

name: optional string

Specify the block page title when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

read\_only: optional boolean

Indicate that this setting was shared via the Orgs API and read only for the current account.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

source\_account: optional string

Indicate the account tag of the account that shared this setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20source_account">Link to this property</a>

suppress\_footer: optional boolean

Specify whether to suppress detailed information at the bottom of the block page when the mode is customized\_block\_page.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20suppress_footer">Link to this property</a>

target\_uri: optional string

Specify the URI to redirect users to when the mode is redirect\_uri.

formaturi

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20target_uri">Link to this property</a>

version: optional number

Indicate the version number of the setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20block_page_settings%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20block_page">Link to this property</a>

<details>

<summary>

body\_scanning: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)">BodyScanningSettings</a> { inspection\_mode }

Specify the DLP inspection mode.

</summary>

<details>

<summary>

inspection\_mode: optional "deep"or "shallow"

Specify the inspection mode as either <code>deep</code> or <code>shallow</code>.

</summary>

One of the following:

"deep"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode%20%3E%20(member)%200">Link to this property</a>

"shallow"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20body_scanning_settings%20%3E%20(schema)%20%3E%20(property)%20inspection_mode">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20body_scanning">Link to this property</a>

<details>

<summary>

browser\_isolation: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)">BrowserIsolationSettings</a> { non\_identity\_enabled, url\_browser\_isolation\_enabled }

Specify Clientless Browser Isolation settings.

</summary>

non\_identity\_enabled: optional boolean

Specify whether to enable non-identity onramp support for Browser Isolation.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)%20%3E%20(property)%20non_identity_enabled">Link to this property</a>

url\_browser\_isolation\_enabled: optional boolean

Specify whether to enable Clientless Browser Isolation.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20browser_isolation_settings%20%3E%20(schema)%20%3E%20(property)%20url_browser_isolation_enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20browser_isolation">Link to this property</a>

<details>

<summary>

certificate: optional object {id }

Specify certificate settings for Gateway TLS interception. If unset, the Cloudflare Root CA handles interception.

</summary>

id: string

Specify the UUID of the certificate used for interception. Ensure the certificate is available at the edge(previously called ‘active’). A nil UUID directs Cloudflare to use the Root CA.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20certificate%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20certificate">Link to this property</a>

<details>

<summary>

Deprecatedcustom\_certificate: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)">CustomCertificateSettings</a> { enabled, id, binding\_status, updated\_at }

Specify custom certificate settings for BYO-PKI. This field is deprecated; use <code>certificate</code> instead.

</summary>

enabled: boolean

Specify whether to enable a custom certificate authority for signing Gateway traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

id: optional string

Specify the UUID of the certificate (ID from MTLS certificate store).

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

binding\_status: optional string

Indicate the internal certificate status.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20binding_status">Link to this property</a>

updated\_at: optional string

formatdate-time

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20custom_certificate_settings%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20custom_certificate">Link to this property</a>

<details>

<summary>

extended\_email\_matching: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)">ExtendedEmailMatching</a> { enabled, read\_only, source\_account, version }

Configures user email settings for firewall policies. When you enable this, the system standardizes email addresses in the identity portion of the rule to match extended email variants in firewall policies. When you disable this setting, the system matches email addresses exactly as you provide them. Enable this setting if your email uses <code>.</code> or <code>+</code> modifiers.

</summary>

enabled: optional boolean

Specify whether to match all variants of user emails (with + or . modifiers) used as criteria in Firewall policies.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

read\_only: optional boolean

Indicate that this setting was shared via the Orgs API and read only for the current account.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20read_only">Link to this property</a>

source\_account: optional string

Indicate the account tag of the account that shared this setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20source_account">Link to this property</a>

version: optional number

Indicate the version number of the setting.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20extended_email_matching%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20extended_email_matching">Link to this property</a>

<details>

<summary>

fips: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20fips_settings%20%3E%20(schema)">FipsSettings</a> { tls }

Specify FIPS settings.

</summary>

tls: optional boolean

Enforce cipher suites and TLS versions compliant with FIPS 140-2.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20fips%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20fips_settings%20%3E%20(schema)%20%3E%20(property)%20tls">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20fips">Link to this property</a>

<details>

<summary>

host\_selector: optional object {enabled }

Enable host selection in egress policies.

</summary>

enabled: optional boolean

Specify whether to enable filtering via hosts for egress policies.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20host_selector%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20host_selector">Link to this property</a>

<details>

<summary>

inspection: optional object {mode }

Define the proxy inspection mode.

</summary>

<details>

<summary>

mode: optional "static"or "dynamic"

Define the proxy inspection mode. 1. static: Gateway applies static inspection to HTTP on TCP(80). With TLS decryption on, Gateway inspects HTTPS traffic on TCP(443) and UDP(443). 2. dynamic: Gateway applies protocol detection to inspect HTTP and HTTPS traffic on any port. TLS decryption must remain on to inspect HTTPS traffic.

</summary>

One of the following:

"static"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode%20%3E%20(member)%200">Link to this property</a>

"dynamic"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20inspection">Link to this property</a>

max\_ttl\_secs: optional number

Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location <code>max_ttl</code> setting.

maximum36000

minimum60

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20max_ttl_secs">Link to this property</a>

<details>

<summary>

protocol\_detection: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20protocol_detection%20%3E%20(schema)">ProtocolDetection</a> { enabled }

Specify whether to detect protocols from the initial bytes of client traffic.

</summary>

enabled: optional boolean

Specify whether to detect protocols from the initial bytes of client traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20protocol_detection%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20protocol_detection%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20protocol_detection">Link to this property</a>

<details>

<summary>

sandbox: optional object {enabled, fallback\_action }

Specify whether to enable the sandbox.

</summary>

enabled: optional boolean

Specify whether to enable the sandbox.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

fallback\_action: optional "allow"or "block"

Specify the action to take when the system cannot scan the file.

</summary>

One of the following:

"allow"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action%20%3E%20(member)%200">Link to this property</a>

"block"

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox%20%3E%20(property)%20fallback_action">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20sandbox">Link to this property</a>

<details>

<summary>

tls\_decrypt: optional <a href="https://developers.cloudflare.com/api/resources/zero_trust#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20tls_settings%20%3E%20(schema)">TLSSettings</a> { enabled }

Specify whether to inspect encrypted HTTP traffic.

</summary>

enabled: optional boolean

Specify whether to inspect encrypted HTTP traffic.

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20tls_decrypt%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20tls_settings%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20gateway_configuration_settings%20%3E%20(schema)%20%3E%20(property)%20tls_decrypt">Link to this property</a>

</details>

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20settings">Link to this property</a>

updated\_at: optional string

formatdate-time

<a href="#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20zero_trust.gateway.configurations%20%3E%20(model)%20configuration_edit_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20zero_trust.gateway.configurations%20%3E%20(method)%20edit%20%3E%20(network%20schema)%20%3E%20(property)%20result>)

### Patch Zero Trust account configuration

HTTP

HTTPTypeScriptPythonGoTerraform

```
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/gateway/configuration \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    -d '{}'
```

200 example

```
{
  "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": {
    "created_at": "2014-01-01T05:20:00.12345Z",
    "settings": {
      "activity_log": {
        "enabled": true
      },
      "antivirus": {
        "enabled_download_phase": false,
        "enabled_upload_phase": false,
        "fail_closed": false,
        "notification_settings": {
          "enabled": true,
          "include_context": true,
          "msg": "msg",
          "support_url": "support_url"
        }
      },
      "block_page": {
        "background_color": "background_color",
        "enabled": true,
        "footer_text": "--footer--",
        "header_text": "--header--",
        "include_context": true,
        "logo_path": "https://logos.com/a.png",
        "mailto_address": "admin@example.com",
        "mailto_subject": "Blocked User Inquiry",
        "mode": "",
        "name": "Cloudflare",
        "read_only": true,
        "source_account": "source_account",
        "suppress_footer": false,
        "target_uri": "https://example.com",
        "version": 1
      },
      "body_scanning": {
        "inspection_mode": "deep"
      },
      "browser_isolation": {
        "non_identity_enabled": true,
        "url_browser_isolation_enabled": true
      },
      "certificate": {
        "id": "d1b364c5-1311-466e-a194-f0e943e0799f"
      },
      "custom_certificate": {
        "enabled": true,
        "id": "d1b364c5-1311-466e-a194-f0e943e0799f",
        "binding_status": "pending_deployment",
        "updated_at": "2019-12-27T18:11:19.117Z"
      },
      "extended_email_matching": {
        "enabled": true,
        "read_only": true,
        "source_account": "source_account",
        "version": 1
      },
      "fips": {
        "tls": true
      },
      "host_selector": {
        "enabled": false
      },
      "inspection": {
        "mode": "static"
      },
      "max_ttl_secs": 3600,
      "protocol_detection": {
        "enabled": true
      },
      "sandbox": {
        "enabled": true,
        "fallback_action": "allow"
      },
      "tls_decrypt": {
        "enabled": true
      }
    },
    "updated_at": "2014-01-01T05:20:00.12345Z"
  }
}
```

##### Returns Examples

200 example

```
{
  "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": {
    "created_at": "2014-01-01T05:20:00.12345Z",
    "settings": {
      "activity_log": {
        "enabled": true
      },
      "antivirus": {
        "enabled_download_phase": false,
        "enabled_upload_phase": false,
        "fail_closed": false,
        "notification_settings": {
          "enabled": true,
          "include_context": true,
          "msg": "msg",
          "support_url": "support_url"
        }
      },
      "block_page": {
        "background_color": "background_color",
        "enabled": true,
        "footer_text": "--footer--",
        "header_text": "--header--",
        "include_context": true,
        "logo_path": "https://logos.com/a.png",
        "mailto_address": "admin@example.com",
        "mailto_subject": "Blocked User Inquiry",
        "mode": "",
        "name": "Cloudflare",
        "read_only": true,
        "source_account": "source_account",
        "suppress_footer": false,
        "target_uri": "https://example.com",
        "version": 1
      },
      "body_scanning": {
        "inspection_mode": "deep"
      },
      "browser_isolation": {
        "non_identity_enabled": true,
        "url_browser_isolation_enabled": true
      },
      "certificate": {
        "id": "d1b364c5-1311-466e-a194-f0e943e0799f"
      },
      "custom_certificate": {
        "enabled": true,
        "id": "d1b364c5-1311-466e-a194-f0e943e0799f",
        "binding_status": "pending_deployment",
        "updated_at": "2019-12-27T18:11:19.117Z"
      },
      "extended_email_matching": {
        "enabled": true,
        "read_only": true,
        "source_account": "source_account",
        "version": 1
      },
      "fips": {
        "tls": true
      },
      "host_selector": {
        "enabled": false
      },
      "inspection": {
        "mode": "static"
      },
      "max_ttl_secs": 3600,
      "protocol_detection": {
        "enabled": true
      },
      "sandbox": {
        "enabled": true,
        "fallback_action": "allow"
      },
      "tls_decrypt": {
        "enabled": true
      }
    },
    "updated_at": "2014-01-01T05:20:00.12345Z"
  }
}
```