---
title: NEL
---

[Skip to content](#%5Ftop) 

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

[Zones](https://developers.cloudflare.com/api/go/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/go/resources/zones/subresources/nel/methods/get)

client.Zones.NEL.Get(ctx, query) (\*[Setting](https://developers.cloudflare.com/api/go/resources/zones#%28resource%29%20zones.nel%20%3E%20%28model%29%20setting%20%3E%20%28schema%29), error)

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

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

client.Zones.NEL.Edit(ctx, params) (\*[Setting](https://developers.cloudflare.com/api/go/resources/zones#%28resource%29%20zones.nel%20%3E%20%28model%29%20setting%20%3E%20%28schema%29), error)

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

##### ModelsExpand Collapse 

type Setting struct{…}

A zone-scoped NEL configuration setting.

ID SettingID

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.

ModifiedOn Time

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 SettingValue

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.