---
title: Update a Notification policy
---

[Skip to content](#_top)

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

[Alerting](https://developers.cloudflare.com/api/resources/alerting)

[Policies](https://developers.cloudflare.com/api/resources/alerting/subresources/policies)

Copy Markdown

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

---

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

# Update a Notification policy

PUT/accounts/{account\_id}/alerting/v3/policies/{policy\_id}

Update a Notification policy.

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

`Notifications Write``Account Settings Write`

##### P ath ParametersExpand Collapse

account\_id: string

The account id

maxLength32

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20account_id%20%3E%20(schema)>)

policy\_id: string

The unique identifier of a notification policy

maxLength32

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20policy_id%20%3E%20(schema)>)

##### Body ParametersJSONExpand Collapse

alert\_interval: optional string

Optional specification of how often to re-alert from the same incident, not support on all alert types.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_interval%20%3E%20(schema)>)

<details>

<summary>

alert\_type: optional "abuse\_report\_alert"or "access\_custom\_certificate\_expiration\_type"or "advanced\_ddos\_attack\_l4\_alert"or 66 more

Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.

</summary>

One of the following:

"abuse\_report\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"access\_custom\_certificate\_expiration\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"advanced\_ddos\_attack\_l4\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"advanced\_ddos\_attack\_l7\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"advanced\_http\_alert\_error"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"bgp\_hijack\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

"billing\_usage\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

"block\_notification\_block\_removed"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

"block\_notification\_new\_block"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

"block\_notification\_review\_rejected"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

"bot\_traffic\_basic\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

"brand\_protection\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

"brand\_protection\_digest"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

"clickhouse\_alert\_fw\_anomaly"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

"clickhouse\_alert\_fw\_ent\_anomaly"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

"cloudforce\_one\_request\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

"cni\_maintenance\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2016">Link to this property</a>

"custom\_analytics"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2017">Link to this property</a>

"custom\_bot\_detection\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2018">Link to this property</a>

"custom\_ssl\_certificate\_event\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2019">Link to this property</a>

"dedicated\_ssl\_certificate\_event\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2020">Link to this property</a>

"device\_connectivity\_anomaly\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2021">Link to this property</a>

"dos\_attack\_l4"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2022">Link to this property</a>

"dos\_attack\_l7"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2023">Link to this property</a>

"expiring\_service\_token\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2024">Link to this property</a>

"failing\_logpush\_job\_disabled\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2025">Link to this property</a>

"fbm\_auto\_advertisement"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2026">Link to this property</a>

"fbm\_dosd\_attack"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2027">Link to this property</a>

"fbm\_volumetric\_attack"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2028">Link to this property</a>

"health\_check\_status\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2029">Link to this property</a>

"hostname\_aop\_custom\_certificate\_expiration\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2030">Link to this property</a>

"http\_alert\_edge\_error"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2031">Link to this property</a>

"http\_alert\_origin\_error"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2032">Link to this property</a>

"image\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2033">Link to this property</a>

"image\_resizing\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2034">Link to this property</a>

"incident\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2035">Link to this property</a>

"load\_balancing\_health\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2036">Link to this property</a>

"load\_balancing\_pool\_enablement\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2037">Link to this property</a>

"logo\_match\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2038">Link to this property</a>

"magic\_tunnel\_health\_check\_event"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2039">Link to this property</a>

"magic\_wan\_tunnel\_health"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2040">Link to this property</a>

"maintenance\_event\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2041">Link to this property</a>

"mtls\_certificate\_store\_certificate\_expiration\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2042">Link to this property</a>

"pages\_event\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2043">Link to this property</a>

"radar\_notification"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2044">Link to this property</a>

"real\_origin\_monitoring"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2045">Link to this property</a>

"scriptmonitor\_alert\_new\_code\_change\_detections"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2046">Link to this property</a>

"scriptmonitor\_alert\_new\_hosts"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2047">Link to this property</a>

"scriptmonitor\_alert\_new\_malicious\_hosts"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2048">Link to this property</a>

"scriptmonitor\_alert\_new\_malicious\_scripts"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2049">Link to this property</a>

"scriptmonitor\_alert\_new\_malicious\_url"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2050">Link to this property</a>

"scriptmonitor\_alert\_new\_max\_length\_resource\_url"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2051">Link to this property</a>

"scriptmonitor\_alert\_new\_resources"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2052">Link to this property</a>

"secondary\_dns\_all\_primaries\_failing"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2053">Link to this property</a>

"secondary\_dns\_primaries\_failing"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2054">Link to this property</a>

"secondary\_dns\_warning"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2055">Link to this property</a>

"secondary\_dns\_zone\_successfully\_updated"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2056">Link to this property</a>

"secondary\_dns\_zone\_validation\_warning"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2057">Link to this property</a>

"security\_insights\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2058">Link to this property</a>

"sentinel\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2059">Link to this property</a>

"stream\_live\_notifications"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2060">Link to this property</a>

"synthetic\_test\_latency\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2061">Link to this property</a>

"synthetic\_test\_low\_availability\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2062">Link to this property</a>

"traffic\_anomalies\_alert"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2063">Link to this property</a>

"tunnel\_health\_event"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2064">Link to this property</a>

"tunnel\_update\_event"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2065">Link to this property</a>

"universal\_ssl\_event\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2066">Link to this property</a>

"web\_analytics\_metrics\_update"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2067">Link to this property</a>

"zone\_aop\_custom\_certificate\_expiration\_type"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)%20%3E%20(member)%2068">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20alert_type%20%3E%20(schema)>)

description: optional string

Optional description for the Notification policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20description%20%3E%20(schema)>)

enabled: optional boolean

Whether or not the Notification policy is enabled.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20enabled%20%3E%20(schema)>)

<details>

<summary>

filters: optional <a href="https://developers.cloudflare.com/api/resources/alerting#(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)">PolicyFilter</a> { actions, affected\_asns, affected\_components, 41 more }

Optional filters that allow you to be alerted only on a subset of events for that alert type based on some criteria. This is only available for select alert types. See alert type documentation for more details.

</summary>

actions: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20actions">Link to this property</a>

affected\_asns: optional array of string

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20affected_asns">Link to this property</a>

affected\_components: optional array of string

Used for configuring incident\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20affected_components">Link to this property</a>

affected\_locations: optional array of string

Used for configuring radar\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20affected_locations">Link to this property</a>

airport\_code: optional array of string

Used for configuring maintenance\_event\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20airport_code">Link to this property</a>

alert\_trigger\_preferences: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20alert_trigger_preferences">Link to this property</a>

alert\_trigger\_preferences\_value: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20alert_trigger_preferences_value">Link to this property</a>

enabled: optional array of string

Used for configuring load\_balancing\_pool\_enablement\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

environment: optional array of string

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20environment">Link to this property</a>

event: optional array of string

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20event">Link to this property</a>

event\_source: optional array of string

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20event_source">Link to this property</a>

event\_type: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20event_type">Link to this property</a>

group\_by: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20group_by">Link to this property</a>

health\_check\_id: optional array of string

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20health_check_id">Link to this property</a>

<details>

<summary>

incident\_impact: optional array of "INCIDENT\_IMPACT\_NONE"or "INCIDENT\_IMPACT\_MINOR"or "INCIDENT\_IMPACT\_MAJOR"or "INCIDENT\_IMPACT\_CRITICAL"

Used for configuring incident\_alert

</summary>

One of the following:

"INCIDENT\_IMPACT\_NONE"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20incident_impact%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"INCIDENT\_IMPACT\_MINOR"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20incident_impact%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"INCIDENT\_IMPACT\_MAJOR"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20incident_impact%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"INCIDENT\_IMPACT\_CRITICAL"

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20incident_impact%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20incident_impact">Link to this property</a>

input\_id: optional array of string

Used for configuring stream\_live\_notifications

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20input_id">Link to this property</a>

insight\_class: optional array of string

Used for configuring security\_insights\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20insight_class">Link to this property</a>

limit: optional array of string

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20limit">Link to this property</a>

logo\_tag: optional array of string

Used for configuring logo\_match\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20logo_tag">Link to this property</a>

megabits\_per\_second: optional array of string

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20megabits_per_second">Link to this property</a>

new\_health: optional array of string

Used for configuring load\_balancing\_health\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20new_health">Link to this property</a>

new\_status: optional array of string

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20new_status">Link to this property</a>

packets\_per\_second: optional array of string

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20packets_per_second">Link to this property</a>

pool\_id: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20pool_id">Link to this property</a>

pop\_names: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20pop_names">Link to this property</a>

product: optional array of string

Used for configuring billing\_usage\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20product">Link to this property</a>

project\_id: optional array of string

Used for configuring pages\_event\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20project_id">Link to this property</a>

protocol: optional array of string

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20protocol">Link to this property</a>

query\_tag: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20query_tag">Link to this property</a>

requests\_per\_second: optional array of string

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20requests_per_second">Link to this property</a>

selectors: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20selectors">Link to this property</a>

services: optional array of string

Used for configuring clickhouse\_alert\_fw\_ent\_anomaly

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20services">Link to this property</a>

slo: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20slo">Link to this property</a>

status: optional array of string

Used for configuring health\_check\_status\_notification

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

target\_hostname: optional array of string

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20target_hostname">Link to this property</a>

target\_ip: optional array of string

Used for configuring advanced\_ddos\_attack\_l4\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20target_ip">Link to this property</a>

target\_zone\_name: optional array of string

Used for configuring advanced\_ddos\_attack\_l7\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20target_zone_name">Link to this property</a>

token\_id: optional array of string

Access service token IDs to include for expiring\_service\_token\_alert. Omit this property to include all current and future service tokens.

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20token_id">Link to this property</a>

traffic\_exclusions: optional array of "security\_events"

Used for configuring traffic\_anomalies\_alert

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20traffic_exclusions">Link to this property</a>

tunnel\_id: optional array of string

Used for configuring tunnel\_health\_event

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20tunnel_id">Link to this property</a>

tunnel\_name: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20tunnel_name">Link to this property</a>

type: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

where: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20where">Link to this property</a>

zones: optional array of string

Usage depends on specific alert type

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_filter%20%3E%20(schema)%20%3E%20(property)%20zones">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20filters%20%3E%20(schema)>)

<details>

<summary>

mechanisms: optional <a href="https://developers.cloudflare.com/api/resources/alerting#(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)">Mechanism</a> { email, pagerduty, webhooks }

List of IDs that will be used when dispatching a notification. IDs for email type will be the email address.

</summary>

<details>

<summary>

email: optional array of object {id }

</summary>

id: optional string

The email address

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20email%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20email">Link to this property</a>

<details>

<summary>

pagerduty: optional array of object {id }

</summary>

id: optional string

UUID

maxLength32

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20pagerduty%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20pagerduty">Link to this property</a>

<details>

<summary>

webhooks: optional array of object {id }

</summary>

id: optional string

UUID

maxLength32

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20webhooks%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20mechanism%20%3E%20(schema)%20%3E%20(property)%20webhooks">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20mechanisms%20%3E%20(schema)>)

name: optional string

Name of the policy.

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(params)%200%20%3E%20(param)%20name%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

errors: array of object {message, code }

</summary>

message: string

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: optional number

minimum1000

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20errors>)

<details>

<summary>

messages: array of object {message, code }

</summary>

message: string

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

code: optional number

minimum1000

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20messages%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20messages>)

success: true

Whether the API call was successful

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20success>)

<details>

<summary>

result: optional object {id }

</summary>

id: optional string

UUID

maxLength32

<a href="#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20alerting.policies%20%3E%20(model)%20policy_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20alerting.policies%20%3E%20(method)%20update%20%3E%20(network%20schema)%20%3E%20(property)%20result>)

### Update a Notification policy

HTTP

HTTPTypeScriptPythonGoTerraform

```
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/alerting/v3/policies/$POLICY_ID \
    -X PUT \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    -d '{
          "alert_interval": "30m",
          "alert_type": "universal_ssl_event_type",
          "description": "Something describing the policy.",
          "enabled": true,
          "filters": {
            "slo": [
              "99.9"
            ]
          },
          "name": "SSL Notification Event Policy"
        }'
```

200 example

```
{
  "errors": [
    {
      "message": "message",
      "code": 1000
    }
  ],
  "messages": [
    {
      "message": "message",
      "code": 1000
    }
  ],
  "success": true,
  "result": {
    "id": "f174e90afafe4643bbbc4a0ed4fc8415"
  }
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "message": "message",
      "code": 1000
    }
  ],
  "messages": [
    {
      "message": "message",
      "code": 1000
    }
  ],
  "success": true,
  "result": {
    "id": "f174e90afafe4643bbbc4a0ed4fc8415"
  }
}
```