Skip to content
Start here

NEL

Get NEL setting
client.Zones.NEL.Get(ctx, query) (*Setting, error)
GET/zones/{zone_id}/settings/nel
Edit NEL setting
client.Zones.NEL.Edit(ctx, params) (*Setting, 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.