Mac address can not be unset via API #12412
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.0
Python version
3.11
Steps to Reproduce
Expected Behavior
Mac address can be set back to NULL via API
Observed Behavior
With step 2 the error message is
{"mac_address":["This field may not be null."]}
. With step 3 it is{"mac_address":["This field may not be blank."]}
Probably
allow_null = True
should be added to the mac_address field of the VMInterfaceSerializer (and InterfaceSerializer for device interfaces)The text was updated successfully, but these errors were encountered: