---
title: Get an account or zone entry point ruleset
---

[Skip to content](#_top)

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

[Rulesets](https://developers.cloudflare.com/api/go/resources/rulesets)

[Phases](https://developers.cloudflare.com/api/go/resources/rulesets/subresources/phases)

Copy Markdown

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

---

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

# Get an account or zone entry point ruleset

client.Rulesets.Phases.Get(ctx, rulesetPhase, query) (\*[PhaseGetResponse](<https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)>), error)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/rulesets/phases/{ruleset\_phase}/entrypoint

Fetches the latest version of the account or zone entry point ruleset for a given phase.

##### 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>

##### Accepted Permissions (at least one required)

`Mass URL Redirects Write``Mass URL Redirects Read``Magic Firewall Write``Magic Firewall Read``L4 DDoS Managed Ruleset Write``L4 DDoS Managed Ruleset Read``Transform Rules Write``Transform Rules Read``Select Configuration Write``Select Configuration Read``Account WAF Write``Account WAF Read``Account Rulesets Read``Account Rulesets Write``Logs Write``Logs Read`

##### ParametersExpand Collapse

<details>

<summary>

RulesetPhase <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a>

The phase of the ruleset.

</summary>

One of the following:

const PhaseDDoSL4 <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "ddos\_l4"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const PhaseDDoSL7 <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "ddos\_l7"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const PhaseHTTPConfigSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_config\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const PhaseHTTPCustomErrors <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_custom\_errors"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

const PhaseHTTPLogCustomFields <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_log\_custom\_fields"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

const PhaseHTTPRatelimit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_ratelimit"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

const PhaseHTTPRequestCacheSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_cache\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

const PhaseHTTPRequestDynamicRedirect <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_dynamic\_redirect"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

const PhaseHTTPRequestFirewallCustom <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_firewall\_custom"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

const PhaseHTTPRequestFirewallManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_firewall\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

const PhaseHTTPRequestLateTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_late\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

const PhaseHTTPRequestOrigin <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_origin"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

const PhaseHTTPRequestRedirect <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_redirect"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

const PhaseHTTPRequestSanitize <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_sanitize"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

const PhaseHTTPRequestSBFM <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_sbfm"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

const PhaseHTTPRequestTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

const PhaseHTTPResponseCacheSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_cache\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2016">Link to this property</a>

const PhaseHTTPResponseCompression <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_compression"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2017">Link to this property</a>

const PhaseHTTPResponseFirewallManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_firewall\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2018">Link to this property</a>

const PhaseHTTPResponseHeadersTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_headers\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2019">Link to this property</a>

const PhaseMagicTransit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2020">Link to this property</a>

const PhaseMagicTransitIDsManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_ids\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2021">Link to this property</a>

const PhaseMagicTransitManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2022">Link to this property</a>

const PhaseMagicTransitRatelimit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_ratelimit"

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2023">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20ruleset_phase%20%3E%20(schema)>)

<details>

<summary>

query PhaseGetParams

</summary>

AccountID param.Field\[string]Optional

The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

ZoneID param.Field\[string]Optional

The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

<a href="#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default%20%3E%20(param)%20zone_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rulesets.phases%20%3E%20(method)%20get%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type PhaseGetResponse struct{…}

A ruleset object.

</summary>

ID string

The unique ID of the ruleset.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Kind <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)">Kind</a>

The kind of the ruleset.

</summary>

One of the following:

const KindManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)">Kind</a> = "managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20kind%20%2B%20(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const KindCustom <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)">Kind</a> = "custom"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20kind%20%2B%20(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const KindRoot <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)">Kind</a> = "root"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20kind%20%2B%20(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const KindZone <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)">Kind</a> = "zone"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20kind%20%2B%20(resource)%20rulesets%20%3E%20(model)%20kind%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20kind">Link to this property</a>

LastUpdated Time

The timestamp of when the ruleset was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20last_updated">Link to this property</a>

Name string

The human-readable name of the ruleset.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

Phase <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a>

The phase of the ruleset.

</summary>

One of the following:

const PhaseDDoSL4 <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "ddos\_l4"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const PhaseDDoSL7 <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "ddos\_l7"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const PhaseHTTPConfigSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_config\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const PhaseHTTPCustomErrors <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_custom\_errors"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

const PhaseHTTPLogCustomFields <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_log\_custom\_fields"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

const PhaseHTTPRatelimit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_ratelimit"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

const PhaseHTTPRequestCacheSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_cache\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

const PhaseHTTPRequestDynamicRedirect <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_dynamic\_redirect"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

const PhaseHTTPRequestFirewallCustom <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_firewall\_custom"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

const PhaseHTTPRequestFirewallManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_firewall\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

const PhaseHTTPRequestLateTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_late\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

const PhaseHTTPRequestOrigin <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_origin"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

const PhaseHTTPRequestRedirect <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_redirect"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

const PhaseHTTPRequestSanitize <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_sanitize"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

const PhaseHTTPRequestSBFM <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_sbfm"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

const PhaseHTTPRequestTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_request\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

const PhaseHTTPResponseCacheSettings <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_cache\_settings"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2016">Link to this property</a>

const PhaseHTTPResponseCompression <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_compression"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2017">Link to this property</a>

const PhaseHTTPResponseFirewallManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_firewall\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2018">Link to this property</a>

const PhaseHTTPResponseHeadersTransform <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "http\_response\_headers\_transform"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2019">Link to this property</a>

const PhaseMagicTransit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2020">Link to this property</a>

const PhaseMagicTransitIDsManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_ids\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2021">Link to this property</a>

const PhaseMagicTransitManaged <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_managed"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2022">Link to this property</a>

const PhaseMagicTransitRatelimit <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)">Phase</a> = "magic\_transit\_ratelimit"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase%20%2B%20(resource)%20rulesets%20%3E%20(model)%20phase%20%3E%20(schema)%20%3E%20(member)%2023">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20phase">Link to this property</a>

<details>

<summary>

Rules \[]PhaseGetResponseRule

The list of rules in the ruleset.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesBlockRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesChallengeRule struct{…}

</summary>

ID string

The unique ID of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20id">Link to this property</a>

Action PhaseGetResponseRulesChallengeRuleAction

The action to perform when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

Whether the rule should be executed.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

The expression defining which traffic will match the rule.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20expression">Link to this property</a>

LastUpdated Time

The timestamp of when the rule was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20last_updated">Link to this property</a>

Ref string

The reference of the rule (the rule’s ID by default).

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ref">Link to this property</a>

Version string

The version of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20version">Link to this property</a>

ActionParameters unknownOptional

The parameters configuring the rule’s action.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20action_parameters">Link to this property</a>

Categories \[]stringOptional

The categories of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20categories">Link to this property</a>

Description stringOptional

An informative description of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

ExposedCredentialCheck PhaseGetResponseRulesChallengeRuleExposedCredentialCheckOptional

Configuration for exposed credential checking.

</summary>

PasswordExpression string

An expression that selects the password used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20password_expression">Link to this property</a>

UsernameExpression string

An expression that selects the user ID used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20username_expression">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20exposed_credential_check">Link to this property</a>

<details>

<summary>

Logging <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)">Logging</a>Optional

An object configuring the rule’s logging behavior.

</summary>

Enabled bool

Whether to generate a log when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20logging%20%2B%20(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20logging">Link to this property</a>

<details>

<summary>

Ratelimit PhaseGetResponseRulesChallengeRuleRatelimitOptional

An object configuring the rule’s rate limit behavior.

</summary>

Characteristics \[]string

Characteristics of the request on which the rate limit counter will be incremented.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20characteristics">Link to this property</a>

Period int64

Period in seconds over which the counter is being incremented.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20period">Link to this property</a>

CountingExpression stringOptional

An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule’s expression.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20counting_expression">Link to this property</a>

MitigationTimeout int64Optional

Period of time in seconds after which the action will be disabled following its first execution.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

RequestsPerPeriod int64Optional

The threshold of requests per period after which the action will be executed for the first time.

minimum1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_per_period">Link to this property</a>

RequestsToOrigin boolOptional

Whether counting is only performed when an origin is reached.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_to_origin">Link to this property</a>

ScorePerPeriod int64Optional

The score threshold per period for which the action will be executed the first time.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_per_period">Link to this property</a>

ScoreResponseHeaderName stringOptional

A response header name provided by the origin, which contains the score to increment rate limit counter with.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_response_header_name">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20ratelimit">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesResponseCompressionRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesDDoSDynamicRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesExecuteRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesForceConnectionCloseRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesJavaScriptChallengeRule struct{…}

</summary>

ID string

The unique ID of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20id">Link to this property</a>

Action PhaseGetResponseRulesJavaScriptChallengeRuleAction

The action to perform when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

Whether the rule should be executed.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

The expression defining which traffic will match the rule.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20expression">Link to this property</a>

LastUpdated Time

The timestamp of when the rule was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20last_updated">Link to this property</a>

Ref string

The reference of the rule (the rule’s ID by default).

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ref">Link to this property</a>

Version string

The version of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20version">Link to this property</a>

ActionParameters unknownOptional

The parameters configuring the rule’s action.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20action_parameters">Link to this property</a>

Categories \[]stringOptional

The categories of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20categories">Link to this property</a>

Description stringOptional

An informative description of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

ExposedCredentialCheck PhaseGetResponseRulesJavaScriptChallengeRuleExposedCredentialCheckOptional

Configuration for exposed credential checking.

</summary>

PasswordExpression string

An expression that selects the password used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20password_expression">Link to this property</a>

UsernameExpression string

An expression that selects the user ID used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20username_expression">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20exposed_credential_check">Link to this property</a>

<details>

<summary>

Logging <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)">Logging</a>Optional

An object configuring the rule’s logging behavior.

</summary>

Enabled bool

Whether to generate a log when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20logging%20%2B%20(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20logging">Link to this property</a>

<details>

<summary>

Ratelimit PhaseGetResponseRulesJavaScriptChallengeRuleRatelimitOptional

An object configuring the rule’s rate limit behavior.

</summary>

Characteristics \[]string

Characteristics of the request on which the rate limit counter will be incremented.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20characteristics">Link to this property</a>

Period int64

Period in seconds over which the counter is being incremented.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20period">Link to this property</a>

CountingExpression stringOptional

An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule’s expression.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20counting_expression">Link to this property</a>

MitigationTimeout int64Optional

Period of time in seconds after which the action will be disabled following its first execution.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

RequestsPerPeriod int64Optional

The threshold of requests per period after which the action will be executed for the first time.

minimum1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_per_period">Link to this property</a>

RequestsToOrigin boolOptional

Whether counting is only performed when an origin is reached.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_to_origin">Link to this property</a>

ScorePerPeriod int64Optional

The score threshold per period for which the action will be executed the first time.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_per_period">Link to this property</a>

ScoreResponseHeaderName stringOptional

A response header name provided by the origin, which contains the score to increment rate limit counter with.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_response_header_name">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20ratelimit">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesLogRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesLogCustomFieldRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%208">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesManagedChallengeRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%209">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesRedirectRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2010">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesRewriteRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2011">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesRouteRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2012">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesScoreRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2013">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesServeErrorRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2014">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRule struct{…}

</summary>

ID string

The unique ID of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20id">Link to this property</a>

Action PhaseGetResponseRulesSetCacheControlRuleAction

The action to perform when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

The expression defining which traffic will match the rule.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20expression">Link to this property</a>

LastUpdated Time

The timestamp of when the rule was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20last_updated">Link to this property</a>

Ref string

The reference of the rule (the rule’s ID by default).

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ref">Link to this property</a>

Version string

The version of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20version">Link to this property</a>

<details>

<summary>

ActionParameters PhaseGetResponseRulesSetCacheControlRuleActionParametersOptional

The parameters configuring the rule’s action.

</summary>

<details>

<summary>

Immutable PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersImmutableRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20immutable">Link to this property</a>

<details>

<summary>

MaxAge PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeOptional

A cache-control directive configuration that accepts a duration value in seconds.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirective struct{…}

Set the directive with a duration value in seconds.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

Value int64

The duration value in seconds for the directive.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200%20%3E%20(property)%20value">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMaxAgeRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20max-age">Link to this property</a>

<details>

<summary>

MustRevalidate PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMustRevalidateRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-revalidate">Link to this property</a>

<details>

<summary>

MustUnderstand PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersMustUnderstandRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20must-understand">Link to this property</a>

<details>

<summary>

NoCache PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheOptional

A cache-control directive configuration that accepts optional qualifiers (header names).

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirective struct{…}

Set the directive with optional qualifiers.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

Qualifiers \[]stringOptional

Optional list of header names to qualify the directive (e.g., for “private” or “no-cache” directives).

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200%20%3E%20(property)%20qualifiers">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoCacheRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-cache">Link to this property</a>

<details>

<summary>

NoStore PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoStoreRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-store">Link to this property</a>

<details>

<summary>

NoTransform PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersNoTransformRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20no-transform">Link to this property</a>

<details>

<summary>

Private PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateOptional

A cache-control directive configuration that accepts optional qualifiers (header names).

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirective struct{…}

Set the directive with optional qualifiers.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

Qualifiers \[]stringOptional

Optional list of header names to qualify the directive (e.g., for “private” or “no-cache” directives).

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200%20%3E%20(property)%20qualifiers">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersPrivateRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20private">Link to this property</a>

<details>

<summary>

ProxyRevalidate PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersProxyRevalidateRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20proxy-revalidate">Link to this property</a>

<details>

<summary>

Public PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicOptional

A cache-control directive configuration.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirective struct{…}

Set the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersPublicRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20public">Link to this property</a>

<details>

<summary>

SMaxage PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageOptional

A cache-control directive configuration that accepts a duration value in seconds.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirective struct{…}

Set the directive with a duration value in seconds.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

Value int64

The duration value in seconds for the directive.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200%20%3E%20(property)%20value">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersSMaxageRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20s-maxage">Link to this property</a>

<details>

<summary>

StaleIfError PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorOptional

A cache-control directive configuration that accepts a duration value in seconds.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirective struct{…}

Set the directive with a duration value in seconds.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

Value int64

The duration value in seconds for the directive.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200%20%3E%20(property)%20value">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleIfErrorRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-if-error">Link to this property</a>

<details>

<summary>

StaleWhileRevalidate PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateOptional

A cache-control directive configuration that accepts a duration value in seconds.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirective struct{…}

Set the directive with a duration value in seconds.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateSetDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

Value int64

The duration value in seconds for the directive.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20value">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirective struct{…}

Remove the directive.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation

The operation to perform on the cache-control directive.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperationSet PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperationRemove PhaseGetResponseRulesSetCacheControlRuleActionParametersStaleWhileRevalidateRemoveDirectiveOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

CloudflareOnly boolOptional

Whether the directive should only be applied to the Cloudflare CDN cache.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%201%20%3E%20(property)%20cloudflare_only">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters%20%3E%20(property)%20stale-while-revalidate">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20action_parameters">Link to this property</a>

Categories \[]stringOptional

The categories of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20categories">Link to this property</a>

Description stringOptional

An informative description of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

ExposedCredentialCheck PhaseGetResponseRulesSetCacheControlRuleExposedCredentialCheckOptional

Configuration for exposed credential checking.

</summary>

PasswordExpression string

An expression that selects the password used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20password_expression">Link to this property</a>

UsernameExpression string

An expression that selects the user ID used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20username_expression">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20exposed_credential_check">Link to this property</a>

<details>

<summary>

Logging <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)">Logging</a>Optional

An object configuring the rule’s logging behavior.

</summary>

Enabled bool

Whether to generate a log when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20logging%20%2B%20(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20logging">Link to this property</a>

<details>

<summary>

Ratelimit PhaseGetResponseRulesSetCacheControlRuleRatelimitOptional

An object configuring the rule’s rate limit behavior.

</summary>

Characteristics \[]string

Characteristics of the request on which the rate limit counter will be incremented.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20characteristics">Link to this property</a>

Period int64

Period in seconds over which the counter is being incremented.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20period">Link to this property</a>

CountingExpression stringOptional

An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule’s expression.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20counting_expression">Link to this property</a>

MitigationTimeout int64Optional

Period of time in seconds after which the action will be disabled following its first execution.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

RequestsPerPeriod int64Optional

The threshold of requests per period after which the action will be executed for the first time.

minimum1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_per_period">Link to this property</a>

RequestsToOrigin boolOptional

Whether counting is only performed when an origin is reached.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_to_origin">Link to this property</a>

ScorePerPeriod int64Optional

The score threshold per period for which the action will be executed the first time.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_per_period">Link to this property</a>

ScoreResponseHeaderName stringOptional

A response header name provided by the origin, which contains the score to increment rate limit counter with.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_response_header_name">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20ratelimit">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2015">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheSettingsRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2016">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRule struct{…}

</summary>

ID string

The unique ID of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20id">Link to this property</a>

Action PhaseGetResponseRulesSetCacheTagsRuleAction

The action to perform when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

The expression defining which traffic will match the rule.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20expression">Link to this property</a>

LastUpdated Time

The timestamp of when the rule was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20last_updated">Link to this property</a>

Ref string

The reference of the rule (the rule’s ID by default).

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ref">Link to this property</a>

Version string

The version of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20version">Link to this property</a>

<details>

<summary>

ActionParameters PhaseGetResponseRulesSetCacheTagsRuleActionParametersOptional

The parameters configuring the rule’s action.

</summary>

One of the following:

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValues struct{…}

Add cache tags using a list of values.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsValuesOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200%20%3E%20(property)%20operation">Link to this property</a>

Values \[]string

A list of cache tag values.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpression struct{…}

Add cache tags using an expression.

</summary>

Expression string

An expression that evaluates to an array of cache tag values.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201%20%3E%20(property)%20expression">Link to this property</a>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersAddCacheTagsExpressionOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201%20%3E%20(property)%20operation">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValues struct{…}

Remove cache tags using a list of values.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsValuesOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202%20%3E%20(property)%20operation">Link to this property</a>

Values \[]string

A list of cache tag values.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpression struct{…}

Remove cache tags using an expression.

</summary>

Expression string

An expression that evaluates to an array of cache tag values.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203%20%3E%20(property)%20expression">Link to this property</a>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersRemoveCacheTagsExpressionOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203%20%3E%20(property)%20operation">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValues struct{…}

Set cache tags using a list of values.

</summary>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsValuesOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204%20%3E%20(property)%20operation">Link to this property</a>

Values \[]string

A list of cache tag values.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpression struct{…}

Set cache tags using an expression.

</summary>

Expression string

An expression that evaluates to an array of cache tag values.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205%20%3E%20(property)%20expression">Link to this property</a>

<details>

<summary>

Operation PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation

The operation to perform on the cache tags.

</summary>

One of the following:

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperationAdd PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation = "add"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205%20%3E%20(property)%20operation%20%3E%20(member)%200">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperationRemove PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation = "remove"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205%20%3E%20(property)%20operation%20%3E%20(member)%201">Link to this property</a>

const PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperationSet PhaseGetResponseRulesSetCacheTagsRuleActionParametersSetCacheTagsExpressionOperation = "set"

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205%20%3E%20(property)%20operation%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205%20%3E%20(property)%20operation">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters%20%3E%20(variant)%205">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20action_parameters">Link to this property</a>

Categories \[]stringOptional

The categories of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20categories">Link to this property</a>

Description stringOptional

An informative description of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

ExposedCredentialCheck PhaseGetResponseRulesSetCacheTagsRuleExposedCredentialCheckOptional

Configuration for exposed credential checking.

</summary>

PasswordExpression string

An expression that selects the password used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20password_expression">Link to this property</a>

UsernameExpression string

An expression that selects the user ID used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20username_expression">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20exposed_credential_check">Link to this property</a>

<details>

<summary>

Logging <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)">Logging</a>Optional

An object configuring the rule’s logging behavior.

</summary>

Enabled bool

Whether to generate a log when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20logging%20%2B%20(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20logging">Link to this property</a>

<details>

<summary>

Ratelimit PhaseGetResponseRulesSetCacheTagsRuleRatelimitOptional

An object configuring the rule’s rate limit behavior.

</summary>

Characteristics \[]string

Characteristics of the request on which the rate limit counter will be incremented.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20characteristics">Link to this property</a>

Period int64

Period in seconds over which the counter is being incremented.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20period">Link to this property</a>

CountingExpression stringOptional

An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule’s expression.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20counting_expression">Link to this property</a>

MitigationTimeout int64Optional

Period of time in seconds after which the action will be disabled following its first execution.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

RequestsPerPeriod int64Optional

The threshold of requests per period after which the action will be executed for the first time.

minimum1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_per_period">Link to this property</a>

RequestsToOrigin boolOptional

Whether counting is only performed when an origin is reached.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_to_origin">Link to this property</a>

ScorePerPeriod int64Optional

The score threshold per period for which the action will be executed the first time.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_per_period">Link to this property</a>

ScoreResponseHeaderName stringOptional

A response header name provided by the origin, which contains the score to increment rate limit counter with.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_response_header_name">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20ratelimit">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2017">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSetConfigurationRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2018">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesSkipRule struct{…}

</summary>

ID string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(entry)%201%20%3E%20(property)%20id">Link to this property</a>

Action string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(entry)%201%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(entry)%201%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(entry)%201%20%3E%20(property)%20expression">Link to this property</a>

Ref string

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(entry)%201%20%3E%20(property)%20ref">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2019">Link to this property</a>

<details>

<summary>

type PhaseGetResponseRulesTransformResponseHTMLRule struct{…}

</summary>

ID string

The unique ID of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20id">Link to this property</a>

Action PhaseGetResponseRulesTransformResponseHTMLRuleAction

The action to perform when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20enabled">Link to this property</a>

Expression string

The expression defining which traffic will match the rule.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20expression">Link to this property</a>

LastUpdated Time

The timestamp of when the rule was last modified.

formatdate-time

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20last_updated">Link to this property</a>

Ref string

The reference of the rule (the rule’s ID by default).

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ref">Link to this property</a>

Version string

The version of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20version">Link to this property</a>

<details>

<summary>

ActionParameters PhaseGetResponseRulesTransformResponseHTMLRuleActionParametersOptional

The parameters configuring the rule’s action.

</summary>

LinkMaze unknown

Enables the link maze transformation on the response.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20action_parameters%20%3E%20(property)%20link_maze">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20action_parameters">Link to this property</a>

Categories \[]stringOptional

The categories of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20categories">Link to this property</a>

Description stringOptional

An informative description of the rule.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20description">Link to this property</a>

<details>

<summary>

ExposedCredentialCheck PhaseGetResponseRulesTransformResponseHTMLRuleExposedCredentialCheckOptional

Configuration for exposed credential checking.

</summary>

PasswordExpression string

An expression that selects the password used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20password_expression">Link to this property</a>

UsernameExpression string

An expression that selects the user ID used in the credentials check.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20exposed_credential_check%20%3E%20(property)%20username_expression">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20exposed_credential_check">Link to this property</a>

<details>

<summary>

Logging <a href="https://developers.cloudflare.com/api/go/resources/rulesets#(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)">Logging</a>Optional

An object configuring the rule’s logging behavior.

</summary>

Enabled bool

Whether to generate a log when the rule matches.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20logging%20%2B%20(resource)%20rulesets.rules%20%3E%20(model)%20logging%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20logging">Link to this property</a>

<details>

<summary>

Ratelimit PhaseGetResponseRulesTransformResponseHTMLRuleRatelimitOptional

An object configuring the rule’s rate limit behavior.

</summary>

Characteristics \[]string

Characteristics of the request on which the rate limit counter will be incremented.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20characteristics">Link to this property</a>

Period int64

Period in seconds over which the counter is being incremented.

minimum0

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20period">Link to this property</a>

CountingExpression stringOptional

An expression that defines when the rate limit counter should be incremented. It defaults to the same as the rule’s expression.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20counting_expression">Link to this property</a>

MitigationTimeout int64Optional

Period of time in seconds after which the action will be disabled following its first execution.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

RequestsPerPeriod int64Optional

The threshold of requests per period after which the action will be executed for the first time.

minimum1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_per_period">Link to this property</a>

RequestsToOrigin boolOptional

Whether counting is only performed when an origin is reached.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20requests_to_origin">Link to this property</a>

ScorePerPeriod int64Optional

The score threshold per period for which the action will be executed the first time.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_per_period">Link to this property</a>

ScoreResponseHeaderName stringOptional

A response header name provided by the origin, which contains the score to increment rate limit counter with.

minLength1

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit%20%3E%20(property)%20score_response_header_name">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20ratelimit">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(variant)%2020">Link to this property</a>

</details>

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20rules">Link to this property</a>

Version string

The version of the ruleset.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

Description stringOptional

An informative description of the ruleset.

<a href="#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

</details>

[Link to this property](<#(resource)%20rulesets.phases%20%3E%20(model)%20PhaseGetResponse%20%3E%20(schema)>)

### Get an account or zone entry point ruleset

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/option"
  "github.com/cloudflare/cloudflare-go/rulesets"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  phase, err := client.Rulesets.Phases.Get(
    context.TODO(),
    rulesets.PhaseHTTPRequestFirewallCustom,
    rulesets.PhaseGetParams{

    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", phase.ID)
}
```

200 example

```
{
  "errors": [
    {
      "message": "something bad happened",
      "code": 10000,
      "source": {
        "pointer": "/rules/0/action"
      }
    }
  ],
  "messages": [
    {
      "message": "something bad happened",
      "code": 10000,
      "source": {
        "pointer": "/rules/0/action"
      }
    }
  ],
  "result": {
    "id": "2f2feab2026849078ba485f918791bdc",
    "kind": "root",
    "last_updated": "2000-01-01T00:00:00Z",
    "name": "My ruleset",
    "phase": "http_request_firewall_custom",
    "rules": [
      {
        "last_updated": "2000-01-01T00:00:00Z",
        "version": "1",
        "id": "id",
        "action": "action",
        "action_parameters": {
          "response": {
            "content": "{\n  \"success\": false,\n  \"error\": \"you have been blocked\"\n}",
            "content_type": "application/json",
            "status_code": 400
          }
        },
        "categories": [
          "directory-traversal"
        ],
        "description": "Block the request.",
        "enabled": true,
        "exposed_credential_check": {
          "password_expression": "url_decode(http.request.body.form[\\\"password\\\"][0])",
          "username_expression": "url_decode(http.request.body.form[\\\"username\\\"][0])"
        },
        "expression": "expression",
        "logging": {
          "enabled": true
        },
        "ratelimit": {
          "characteristics": [
            "cf.colo.id"
          ],
          "period": 60,
          "counting_expression": "http.request.body.raw eq \"abcd\"",
          "mitigation_timeout": 600,
          "requests_per_period": 1000,
          "requests_to_origin": true,
          "score_per_period": 400,
          "score_response_header_name": "my-score"
        },
        "ref": "ref"
      }
    ],
    "version": "1",
    "description": "A description for my ruleset."
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "message": "something bad happened",
      "code": 10000,
      "source": {
        "pointer": "/rules/0/action"
      }
    }
  ],
  "messages": [
    {
      "message": "something bad happened",
      "code": 10000,
      "source": {
        "pointer": "/rules/0/action"
      }
    }
  ],
  "result": {
    "id": "2f2feab2026849078ba485f918791bdc",
    "kind": "root",
    "last_updated": "2000-01-01T00:00:00Z",
    "name": "My ruleset",
    "phase": "http_request_firewall_custom",
    "rules": [
      {
        "last_updated": "2000-01-01T00:00:00Z",
        "version": "1",
        "id": "id",
        "action": "action",
        "action_parameters": {
          "response": {
            "content": "{\n  \"success\": false,\n  \"error\": \"you have been blocked\"\n}",
            "content_type": "application/json",
            "status_code": 400
          }
        },
        "categories": [
          "directory-traversal"
        ],
        "description": "Block the request.",
        "enabled": true,
        "exposed_credential_check": {
          "password_expression": "url_decode(http.request.body.form[\\\"password\\\"][0])",
          "username_expression": "url_decode(http.request.body.form[\\\"username\\\"][0])"
        },
        "expression": "expression",
        "logging": {
          "enabled": true
        },
        "ratelimit": {
          "characteristics": [
            "cf.colo.id"
          ],
          "period": 60,
          "counting_expression": "http.request.body.raw eq \"abcd\"",
          "mitigation_timeout": 600,
          "requests_per_period": 1000,
          "requests_to_origin": true,
          "score_per_period": 400,
          "score_response_header_name": "my-score"
        },
        "ref": "ref"
      }
    ],
    "version": "1",
    "description": "A description for my ruleset."
  },
  "success": true
}
```