Adding snmp_disable device via API leaves out many variables

Hi all,

When I run the following API command it adds the device, but without the location-override, location, os, notes and sysDescr.

curl -X POST -d ‘{“hostname”:“IPADDRESS”,“snmp_disable”:“true”,“sysName”:“Fritz”,“os”:“Fritz”,“override_syslocation”:“1”,“location”:“ADDRESS”,“sysDescr”:“ZT/123456”,“notes”:“123456/O1”}’ -H ‘X-Auth-Token: TOKEN’ https://URL/api/v0/devices

I can add the location override and location afterwards in the GUI, but I prefer to add them via API.
Is there a way to add the location and other variables via API to a ping only device?

When I run these patch commands after creating the device, I can change the override_syslocation but the address I send still gets disregarded.

curl -X PATCH -d ‘{“field”: “override_syslocation”, “data”: “1”}’ -H ‘X-Auth-Token: TOKEN’ https://URL/api/v0/devices/DEVICEIP

curl -X PATCH -d ‘{“field”: “location”, “data”: “ADDRESS”}’ -H ‘X-Auth-Token: TOKEN’ https://URL/api/v0/devices/DEVICEIP

Has no one encountered this issue?