Hi! We're using a Python script to import devices from a Cisco DNA inventory, but I can't seem to find a way to set a device group for the devices through the API. I'm using PATCH with the "/api/1/netbox/{netbox_id}/" endpoint, but as far as I can understand from the source code, it only supports certain special attributes like "organizationid", "roomid" etc. and not arbitrary device attributes.
Is this implemented? If not, would it be easy for me to implement a new API endpoint attribute for this or would this tie into a lot of other things?
--
Med vennlig hilsen
Håvard Ose Nordstrand
Overingeniør – Faggruppe Nett
NTNU IT, Drift
[cid:8e2b2110-e280-4f3f-8c21-434fb33f3b8b]