Remove model key from webhook data #11480

Closed
opened 2025-12-29 21:45:50 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Aug 13, 2025).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Remove the legacy model key from the default webhook payload data.

Justification

model, which lists only the name of the relevant object type (e.g. "site"), was superseded by object_type, which includes the app label as well (e.g. "dcim.site"), in NetBox v4.4.0 (see #20029).

Impact

Any webhook receivers which rely on the model key will need to be updated to reference object_type instead.

Originally created by @jeremystretch on GitHub (Aug 13, 2025). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Remove the legacy `model` key from the default webhook payload data. ### Justification `model`, which lists only the name of the relevant object type (e.g. "site"), was superseded by `object_type`, which includes the app label as well (e.g. "dcim.site"), in NetBox v4.4.0 (see #20029). ### Impact Any webhook receivers which rely on the `model` key will need to be updated to reference `object_type` instead.
adam added the status: acceptedtype: deprecationbreaking change labels 2025-12-29 21:45:50 +01:00
adam closed this issue 2025-12-29 21:45:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11480