diff --git a/gso/services/netbox_client.py b/gso/services/netbox_client.py
index 4bf9fd6609c0032b2fc30c6605b5dd87ca62190d..47d2f6e87e5f0d3930a9a1c08e827f0674587eec 100644
--- a/gso/services/netbox_client.py
+++ b/gso/services/netbox_client.py
@@ -173,7 +173,7 @@ class NetboxClient:
         device = self.netbox.dcim.devices.create(
             name=device_name,
             device_type=device_type.id,
-            role=device_role.id,
+            device_role=device_role.id,
             site=device_site.id,
         )
         module_bays = list(self.netbox.dcim.module_bays.filter(device_id=device.id))