---
title: NEL
---

[Skip to content](#%5Ftop) 

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

[Zones](https://developers.cloudflare.com/api/python/resources/zones)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# NEL

##### [Get NEL setting](https://developers.cloudflare.com/api/python/resources/zones/subresources/nel/methods/get)

zones.nel.get(NELGetParams\*\*kwargs)  \-> [Setting](https://developers.cloudflare.com/api/python/resources/zones#%28resource%29%20zones.nel%20%3E%20%28model%29%20setting%20%3E%20%28schema%29)

GET/zones/{zone\_id}/settings/nel

##### [Edit NEL setting](https://developers.cloudflare.com/api/python/resources/zones/subresources/nel/methods/edit)

zones.nel.edit(NELEditParams\*\*kwargs)  \-> [Setting](https://developers.cloudflare.com/api/python/resources/zones#%28resource%29%20zones.nel%20%3E%20%28model%29%20setting%20%3E%20%28schema%29)

PATCH/zones/{zone\_id}/settings/nel

##### ModelsExpand Collapse 

class Setting: …

A zone-scoped NEL configuration setting.

id: Literal\["nel"\]

Zone setting identifier.

editable: bool

Whether the setting is editable. This is false when the zone’s plan does not include NEL or the NEL product feature is not enabled.

modified\_on: datetime

When the setting was last modified. A zero value (0001-01-01T00:00:00Z) indicates the setting has never been explicitly set and is using the default value.

formatdate-time

value: Value

The NEL configuration value.

enabled: bool

Whether Network Error Logging is enabled for the zone. When enabled, browsers report network errors to Cloudflare’s NEL endpoint.