I'm using the Python Netbox library https://pypi.org/project/python-netbox/ and attempting to write information to a custom_field that is associated with tenants. Unable to figure out the correct syntax for entering information into my custom field named "custshortname" in this example:
.tenancy.create_tenant(name='Big Company', slug='big-company', custshortname='bigco')
The tenant creates, but the custom_field remains unpopulated. Of course, I can enter the information in the gui, and getting the response via JSON in Python shows this for another customer:
, 'custom_fields': {'custshortname': 'medco',
Anyone had any success in getting this to work? I've also tried pynetbox as well, same basic issue, can't write to custom_fields. Thanks.