--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/aae54b4a-bdc5-481a-9b80-e9eeda82dd60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need to specify the device ID, not a dictionary with its name. For example:"device": 123
On Fri, Aug 24, 2018 at 6:55 AM, Kienct <kie...@gmail.com> wrote:
Hi everyone,I'm kinda new to Netbox and API. My goal is using API to assign interface to LAG. But when I'm using python requests, I able to modify some field of interface like mtu, description... but unable to modify nested field like lag, untagged_vlan,form_factor.Result I get from this is {"lag":["Primary key must be an integer"]}. Same result for other nested field.I feel like I made stupid mistake here.Netbox V2.4.3Thank you.
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.